Flow123d
release_3.0.0-973-g92f55e826
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
x
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
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
x
z
Functions
_
a
b
c
d
e
f
i
k
m
n
o
p
r
s
t
u
v
w
x
z
Variables
_
a
c
d
g
m
n
p
q
r
s
v
x
Typedefs
a
d
e
f
i
j
l
m
n
o
q
r
s
u
x
Enumerations
Enumerator
a
c
d
e
f
i
k
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
v
w
x
z
flow123d
src
coupling
equation.cc
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 equation.cc
15
* @brief Abstract base class for equation clasess.
16
* @author Jan Brezina
17
*/
18
19
#include <petscmat.h>
20
#include "
tools/time_governor.hh
"
21
22
23
#include "
equation.hh
"
24
#include "
system/system.hh
"
25
#include "
input/accessors.hh
"
26
#include "
fields/field_set.hh
"
27
28
29
30
31
/*****************************************************************************************
32
* Implementation of EqBase
33
*/
34
35
EquationBase::EquationBase
()
36
: equation_empty_(true),
37
mesh_(NULL),
38
time_(NULL),
39
input_record_(),
40
eq_data_(nullptr)
41
{}
42
43
44
45
EquationBase::EquationBase
(
Mesh
&mesh,
const
Input::Record
in_rec)
46
: equation_empty_(false),
47
mesh_(&mesh),
48
time_(NULL),
49
input_record_(in_rec),
50
eq_data_(nullptr)
51
{}
52
53
54
void
EquationBase::set_time_governor
(
TimeGovernor
&time)
55
{
56
time_
= &
time
;
57
}
58
time_governor.hh
Basic time management class.
EquationBase::time_
TimeGovernor * time_
Definition:
equation.hh:222
EquationBase::time
TimeGovernor & time()
Definition:
equation.hh:146
field_set.hh
system.hh
Input::Record
Accessor to the data with type Type::Record.
Definition:
accessors.hh:291
accessors.hh
TimeGovernor
Basic time management functionality for unsteady (and steady) solvers (class Equation).
Definition:
time_governor.hh:294
equation.hh
Abstract base class for equation clasess.
EquationBase::EquationBase
EquationBase()
Definition:
equation.cc:35
Mesh
Definition:
mesh.h:80
EquationBase::set_time_governor
virtual void set_time_governor(TimeGovernor &time)
Definition:
equation.cc:54
Generated by
1.8.17