Flow123d  release_2.2.0-23-g01927c6
darcy_flow_interface.hh
Go to the documentation of this file.
1 /*
2  * darcy_flow_interface.hh
3  *
4  * Created on: Sep 17, 2015
5  * Author: jb
6  */
7 
8 #ifndef SRC_FLOW_DARCY_FLOW_INTERFACE_HH_
9 #define SRC_FLOW_DARCY_FLOW_INTERFACE_HH_
10 
12 
13 class MH_DofHandler;
14 
16 public:
17  /// Typedef for usage of Input::Factory in child classes.
19 
21  return Input::Type::Abstract("DarcyFlow",
22  "Darcy flow model. Abstraction of various porous media flow models.")
23  .close();
24  }
25 
27  : EquationBase(mesh, in_rec)
28  {}
29 
30  virtual const MH_DofHandler &get_mh_dofhandler() =0;
31 
33  {}
34 };
35 
36 
37 
38 
39 #endif /* SRC_FLOW_DARCY_FLOW_INTERFACE_HH_ */
Definition: mesh.h:97
Abstract & close()
Close the Abstract and add its to type repository (see TypeRepository::add_type). ...
virtual const MH_DofHandler & get_mh_dofhandler()=0
Mesh & mesh()
Definition: equation.hh:176
Accessor to the data with type Type::Record.
Definition: accessors.hh:292
static Input::Type::Abstract & get_input_type()
DarcyFlowInterface(Mesh &mesh, const Input::Record in_rec)
Class for declaration of polymorphic Record.
DarcyFlowInterface FactoryBaseType
Typedef for usage of Input::Factory in child classes.