Flow123d  release_3.0.0-973-g92f55e826
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_ */
DarcyFlowInterface::FactoryBaseType
DarcyFlowInterface FactoryBaseType
Typedef for usage of Input::Factory in child classes.
Definition: darcy_flow_interface.hh:19
input_type_forward.hh
EquationBase::mesh
Mesh & mesh()
Definition: equation.hh:174
Input::Record
Accessor to the data with type Type::Record.
Definition: accessors.hh:291
Input::Type::Abstract
Class for declaration of polymorphic Record.
Definition: type_abstract.hh:62
equation.hh
Abstract base class for equation clasess.
EquationBase
Definition: equation.hh:57
DarcyFlowInterface::get_input_type
static Input::Type::Abstract & get_input_type()
Definition: darcy_flow_interface.hh:21
DarcyFlowInterface::~DarcyFlowInterface
virtual ~DarcyFlowInterface()
Definition: darcy_flow_interface.hh:33
Mesh
Definition: mesh.h:80
DarcyFlowInterface::get_mh_dofhandler
virtual const MH_DofHandler & get_mh_dofhandler()=0
DarcyFlowInterface::DarcyFlowInterface
DarcyFlowInterface(Mesh &mesh, const Input::Record in_rec)
Definition: darcy_flow_interface.hh:27
Input::Type::Abstract::close
Abstract & close()
Close the Abstract and add its to type repository (see TypeRepository::add_type).
Definition: type_abstract.cc:190
MH_DofHandler
Definition: mh_dofhandler.hh:43
DarcyFlowInterface
Definition: darcy_flow_interface.hh:16