DAFoam
v3.0.6
Discrete Adjoint with OpenFOAM
dafoam
src
adjoint
DAMotion
DAMotionDummy.C
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
3
DAFoam : Discrete Adjoint with OpenFOAM
4
Version : v3
5
6
\*---------------------------------------------------------------------------*/
7
8
#include "
DAMotionDummy.H
"
9
10
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
11
12
namespace
Foam
13
{
14
15
defineTypeNameAndDebug
(DAMotionDummy, 0);
16
addToRunTimeSelectionTable
(DAMotion, DAMotionDummy, dictionary);
17
// * * * * * * * * * * * * * * * * Constructors * * * * * * * * * * * * * * //
18
19
DAMotionDummy::DAMotionDummy
(
20
const
dynamicFvMesh&
mesh
,
21
const
DAOption
&
daOption
)
22
:
DAMotion
(
23
mesh
,
24
daOption
)
25
{
26
}
27
28
void
DAMotionDummy::correct
()
29
{
30
// do nothing here
31
}
32
33
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
34
35
}
// End namespace Foam
36
37
// ************************************************************************* //
DAMotionDummy.H
Foam::DAMotionDummy::correct
virtual void correct()
update the cell displacement
Definition:
DAMotionDummy.C:28
Foam::DAOption
Definition:
DAOption.H:29
daOption
DAOption daOption(mesh, pyOptions_)
mesh
fvMesh & mesh
Definition:
createRefsHeatTransfer.H:4
Foam::DAMotion
Definition:
DAMotion.H:29
Foam
Definition:
multiFreqScalarFvPatchField.C:144
Foam::defineTypeNameAndDebug
defineTypeNameAndDebug(DAFvSource, 0)
Foam::addToRunTimeSelectionTable
addToRunTimeSelectionTable(DAFvSource, DAFvSourceActuatorDisk, dictionary)
Foam::DAMotionDummy::DAMotionDummy
DAMotionDummy(const dynamicFvMesh &mesh, const DAOption &daOption)
Definition:
DAMotionDummy.C:19
Generated by
1.8.17