Flow123d  release_3.0.0-899-g9314a17
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 #include "coupling/equation.hh"
13 
14 class MH_DofHandler;
15 
17 public:
18  /// Typedef for usage of Input::Factory in child classes.
20 
22  return Input::Type::Abstract("DarcyFlow",
23  "Darcy flow model. Abstraction of various porous media flow models.")
24  .close();
25  }
26 
28  : EquationBase(mesh, in_rec)
29  {}
30 
31  virtual const MH_DofHandler &get_mh_dofhandler() =0;
32 
34  {}
35 };
36 
37 
38 
39 
40 #endif /* SRC_FLOW_DARCY_FLOW_INTERFACE_HH_ */
Abstract base class for equation clasess.
Definition: mesh.h:80
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.