Flow123d  JS_before_hm-2198-g122e1f2e2
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,
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
DarcyFlowInterface FactoryBaseType
Typedef for usage of Input::Factory in child classes.
Definition: darcy_flow_interface.hh:18
DarcyFlowInterface::MortarP1
@ MortarP1
Definition: darcy_flow_interface.hh:33
input_type_forward.hh
EquationBase::mesh
Mesh & mesh()
Definition: equation.hh:179
DarcyFlowInterface::NoMortar
@ NoMortar
Definition: darcy_flow_interface.hh:31
Input::Record
Accessor to the data with type Type::Record.
Definition: accessors.hh:291
field_values.hh
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::MortarMethod
MortarMethod
Type of experimental Mortar-like method for non-compatible 1d-2d interaction.
Definition: darcy_flow_interface.hh:30
DarcyFlowInterface::get_input_type
static Input::Type::Abstract & get_input_type()
Definition: darcy_flow_interface.hh:23
DarcyFlowInterface::~DarcyFlowInterface
virtual ~DarcyFlowInterface()
Definition: darcy_flow_interface.hh:40
Mesh
Definition: mesh.h:355
DarcyFlowInterface::DECLARE_EXCEPTION
DECLARE_EXCEPTION(ExcBddcmlNotSupported,<< "Flow123d was not build with BDDCML support.\n")
DarcyFlowInterface::MortarP0
@ MortarP0
Definition: darcy_flow_interface.hh:32
DarcyFlowInterface::DarcyFlowInterface
DarcyFlowInterface(Mesh &mesh, const Input::Record in_rec)
Definition: darcy_flow_interface.hh:36
Input::Type::Abstract::close
Abstract & close()
Close the Abstract and add its to type repository (see TypeRepository::add_type).
Definition: type_abstract.cc:190
DarcyFlowInterface
Definition: darcy_flow_interface.hh:15