Flow123d
3.9.0-be1f591da
src
transport
advection_process_base.hh
Go to the documentation of this file.
1
/*
2
* advection_process_base.hh
3
*
4
* Created on: Sep 17, 2015
5
* Author: jb
6
*/
7
8
#ifndef SRC_TRANSPORT_ADVECTION_PROCESS_BASE_HH_
9
#define SRC_TRANSPORT_ADVECTION_PROCESS_BASE_HH_
10
11
#include "
coupling/equation.hh
"
12
#include "
input/input_type_forward.hh
"
13
14
class
Mesh
;
15
16
/**
17
* Abstract interface class for secondary equations in HC_ExplicitCoupling.
18
*/
19
class
AdvectionProcessBase
:
public
EquationBase
{
20
21
public
:
22
AdvectionProcessBase
(
Mesh
&
mesh
,
const
Input::Record
in_rec)
23
:
EquationBase
(
mesh
, in_rec)
24
{};
25
26
/// Common specification of the input record for secondary equations.
27
static
Input::Type::Abstract
&
get_input_type
() {
28
return
Input::Type::Abstract
(
"AdvectionProcess"
,
29
"Abstract advection process. In particular: transport of substances or heat transfer."
)
30
.
close
();
31
}
32
33
34
};
35
36
37
38
39
#endif
/* SRC_TRANSPORT_ADVECTION_PROCESS_BASE_HH_ */
input_type_forward.hh
EquationBase::mesh
Mesh & mesh()
Definition:
equation.hh:178
Input::Record
Accessor to the data with type Type::Record.
Definition:
accessors.hh:291
AdvectionProcessBase
Definition:
advection_process_base.hh:19
AdvectionProcessBase::AdvectionProcessBase
AdvectionProcessBase(Mesh &mesh, const Input::Record in_rec)
Definition:
advection_process_base.hh:22
Input::Type::Abstract
Class for declaration of polymorphic Record.
Definition:
type_abstract.hh:62
AdvectionProcessBase::get_input_type
static Input::Type::Abstract & get_input_type()
Common specification of the input record for secondary equations.
Definition:
advection_process_base.hh:27
equation.hh
Abstract base class for equation clasess.
EquationBase
Definition:
equation.hh:56
Mesh
Definition:
mesh.h:361
Input::Type::Abstract::close
Abstract & close()
Close the Abstract and add its to type repository (see TypeRepository::add_type).
Definition:
type_abstract.cc:190
Generated by
1.8.17