DAFoam
v4.0.2
Discrete Adjoint with OpenFOAM
dafoam
src
adjoint
DAGlobalVar
DAGlobalVar.C
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
3
DAFoam : Discrete Adjoint with OpenFOAM
4
Version : v4
5
6
\*---------------------------------------------------------------------------*/
7
8
#include "
DAGlobalVar.H
"
9
10
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
11
12
namespace
Foam
13
{
14
15
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
16
17
DAGlobalVar::DAGlobalVar(
18
const
fvMesh&
mesh
)
19
: regIOobject(
20
IOobject(
21
"DAGlobalVar"
,
// the db name
22
mesh
.time().timeName(),
23
mesh
,
// register to mesh
24
IOobject::NO_READ,
25
IOobject::NO_WRITE,
26
true
// always register object
27
)),
28
mesh_(
mesh
)
29
{
30
}
31
32
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
33
34
}
// End namespace Foam
35
36
// ************************************************************************* //
DAGlobalVar.H
mesh
fvMesh & mesh
Definition:
createRefsHeatTransfer.H:4
Foam
Definition:
checkGeometry.C:32
Generated by
1.8.17