Flow123d  JS_before_hm-1003-g4e68d2c
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 #include "fields/field_values.hh"
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 
26  /// Type of experimental Mortar-like method for non-compatible 1d-2d interaction.
27  enum MortarMethod {
28  NoMortar = 0,
29  MortarP0 = 1,
31  };
32 
34  : EquationBase(mesh, in_rec)
35  {}
36 
38  {}
39 };
40 
41 
42 
43 
44 #endif /* SRC_FLOW_DARCY_FLOW_INTERFACE_HH_ */
Abstract base class for equation clasess.
Definition: mesh.h:78
Abstract & close()
Close the Abstract and add its to type repository (see TypeRepository::add_type). ...
Mesh & mesh()
Definition: equation.hh:177
Accessor to the data with type Type::Record.
Definition: accessors.hh:291
static Input::Type::Abstract & get_input_type()
DarcyFlowInterface(Mesh &mesh, const Input::Record in_rec)
Class for declaration of polymorphic Record.
MortarMethod
Type of experimental Mortar-like method for non-compatible 1d-2d interaction.
DarcyFlowInterface FactoryBaseType
Typedef for usage of Input::Factory in child classes.