Flow123d  last_with_con_2.0.0-4-g42e6930
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:95
Abstract & close()
Can be used to close the Abstract for further declarations of keys.
virtual const MH_DofHandler & get_mh_dofhandler()=0
Mesh & mesh()
Definition: equation.hh:174
Accessor to the data with type Type::Record.
Definition: accessors.hh:277
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.