Flow123d  master-f44eb46
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 
20  DECLARE_EXCEPTION( ExcBddcmlNotSupported, << "Flow123d was not build with BDDCML support.\n" );
21  DECLARE_EXCEPTION( ExcUnknownSolver, << "Unknown solver type. Internal error.\n" );
22 
24  return Input::Type::Abstract("DarcyFlow",
25  "Darcy flow model. Abstraction of various porous media flow models.")
26  .close();
27  }
28 
29  /// Type of experimental Mortar-like method for non-compatible 1d-2d interaction.
30  enum MortarMethod {
31  NoMortar = 0,
32  MortarP0 = 1,
33  MortarP1 = 2
34  };
35 
37  : EquationBase(mesh, in_rec)
38  {}
39 
41  {}
42 };
43 
44 
45 
46 
47 #endif /* SRC_FLOW_DARCY_FLOW_INTERFACE_HH_ */
DarcyFlowInterface FactoryBaseType
Typedef for usage of Input::Factory in child classes.
DECLARE_EXCEPTION(ExcUnknownSolver,<< "Unknown solver type. Internal error.\n")
DECLARE_EXCEPTION(ExcBddcmlNotSupported,<< "Flow123d was not build with BDDCML support.\n")
static Input::Type::Abstract & get_input_type()
DarcyFlowInterface(Mesh &mesh, const Input::Record in_rec)
MortarMethod
Type of experimental Mortar-like method for non-compatible 1d-2d interaction.
Mesh & mesh()
Definition: equation.hh:181
Accessor to the data with type Type::Record.
Definition: accessors.hh:291
Class for declaration of polymorphic Record.
Abstract & close()
Close the Abstract and add its to type repository (see TypeRepository::add_type).
Definition: mesh.h:362
Abstract base class for equation clasess.