Flow123d
3.9.0-c2ae2d0a8
Main Page
Related Pages
Modules
Namespaces
Namespace List
Namespace Members
All
_
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
r
s
t
u
v
w
y
Functions
_
a
b
c
d
e
f
g
h
i
m
n
o
p
r
s
t
u
w
Variables
Typedefs
Enumerations
Enumerator
a
b
c
d
f
g
h
i
m
n
o
p
r
s
u
w
y
Classes
Class List
Class Hierarchy
Class Members
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
z
Enumerations
a
b
c
d
f
h
i
m
n
o
p
r
s
t
u
v
Enumerator
a
b
c
d
e
f
g
i
k
l
m
n
o
p
r
s
t
u
v
w
x
y
z
Related Functions
a
b
c
d
e
f
g
i
l
m
n
o
p
r
s
t
Files
File List
File Members
All
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
Functions
_
a
c
d
f
i
k
l
m
n
o
p
r
s
t
v
Variables
_
a
c
d
g
m
n
p
q
s
u
v
Typedefs
_
a
d
e
f
g
i
j
l
m
o
q
r
s
t
u
v
Enumerations
Enumerator
a
b
c
d
e
f
i
m
n
o
p
r
s
u
v
w
Macros
_
a
b
c
d
e
f
g
i
j
k
l
m
n
o
p
q
r
s
t
w
z
src
transport
advection_diffusion_model.hh
Go to the documentation of this file.
1
/*!
2
*
3
* Copyright (C) 2015 Technical University of Liberec. All rights reserved.
4
*
5
* This program is free software; you can redistribute it and/or modify it under
6
* the terms of the GNU General Public License version 3 as published by the
7
* Free Software Foundation. (http://www.gnu.org/licenses/gpl-3.0.en.html)
8
*
9
* This program is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
11
* FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
*
13
*
14
* @file advection_diffusion_model.hh
15
* @brief Discontinuous Galerkin method for equation of transport with dispersion.
16
* @author Jan Stebel
17
*/
18
19
#ifndef AD_MODEL_HH_
20
#define AD_MODEL_HH_
21
22
namespace
Input
{
23
class
Record;
24
}
25
26
27
/**
28
* AdvectionDiffusionModel is a base class for description of a physical process described
29
* by the advection-diffusion partial differential equation (PDE). The derived classes define input parameters
30
* and implement methods that calculate coefficients of the PDE. These methods are then used by a template
31
* class for numerical solution, whose specialization derives from the model class.
32
*/
33
class
AdvectionDiffusionModel
{
34
public
:
35
36
enum
Abstract_bc_types
{
37
// abc_none,
38
abc_inflow
,
39
abc_dirichlet
,
40
abc_total_flux
,
41
abc_diffusive_flux
42
};
43
44
/// Read necessary data from input record.
45
virtual
void
init_from_input
(
const
Input::Record
&in_rec) = 0;
46
47
/// Destructor.
48
virtual
~AdvectionDiffusionModel
() {};
49
50
};
51
52
53
54
55
56
57
#endif
/* AD_MODEL_HH_ */
Input
Abstract linear system class.
Definition:
balance.hh:40
AdvectionDiffusionModel
Definition:
advection_diffusion_model.hh:33
Input::Record
Accessor to the data with type Type::Record.
Definition:
accessors.hh:291
AdvectionDiffusionModel::abc_dirichlet
@ abc_dirichlet
Definition:
advection_diffusion_model.hh:39
AdvectionDiffusionModel::abc_inflow
@ abc_inflow
Definition:
advection_diffusion_model.hh:38
AdvectionDiffusionModel::Abstract_bc_types
Abstract_bc_types
Definition:
advection_diffusion_model.hh:36
AdvectionDiffusionModel::abc_diffusive_flux
@ abc_diffusive_flux
Definition:
advection_diffusion_model.hh:41
AdvectionDiffusionModel::init_from_input
virtual void init_from_input(const Input::Record &in_rec)=0
Read necessary data from input record.
AdvectionDiffusionModel::abc_total_flux
@ abc_total_flux
Definition:
advection_diffusion_model.hh:40
AdvectionDiffusionModel::~AdvectionDiffusionModel
virtual ~AdvectionDiffusionModel()
Destructor.
Definition:
advection_diffusion_model.hh:48
Generated by
1.8.17