DAFoam
v3.0.6
Discrete Adjoint with OpenFOAM
dafoam
src
adjoint
DAMotion
DAMotionDummy.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
3
DAFoam : Discrete Adjoint with OpenFOAM
4
Version : v3
5
6
Description:
7
Child class for dummy (no) motion
8
9
\*---------------------------------------------------------------------------*/
10
11
#ifndef DAMotionDummy_H
12
#define DAMotionDummy_H
13
14
#include "
DAMotion.H
"
15
#include "addToRunTimeSelectionTable.H"
16
17
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18
19
namespace
Foam
20
{
21
22
/*---------------------------------------------------------------------------*\
23
Class DAMotionDummy Declaration
24
\*---------------------------------------------------------------------------*/
25
26
class
DAMotionDummy
27
:
public
DAMotion
28
{
29
30
protected
:
31
32
public
:
33
TypeName
(
"dummy"
);
34
// Constructors
35
36
//- Construct from components
37
DAMotionDummy
(
38
const
dynamicFvMesh&
mesh
,
39
const
DAOption
&
daOption
);
40
41
//- Destructor
42
virtual
~DAMotionDummy
()
43
{
44
}
45
47
virtual
void
correct
();
48
49
};
50
51
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
52
53
}
// End namespace Foam
54
55
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
56
57
#endif
58
59
// ************************************************************************* //
Foam::DAMotionDummy::correct
virtual void correct()
update the cell displacement
Definition:
DAMotionDummy.C:28
Foam::DAOption
Definition:
DAOption.H:29
Foam::DAMotionDummy::TypeName
TypeName("dummy")
daOption
DAOption daOption(mesh, pyOptions_)
Foam::DAMotionDummy::~DAMotionDummy
virtual ~DAMotionDummy()
Definition:
DAMotionDummy.H:42
mesh
fvMesh & mesh
Definition:
createRefsHeatTransfer.H:4
Foam::DAMotionDummy
Definition:
DAMotionDummy.H:26
DAMotion.H
Foam::DAMotion
Definition:
DAMotion.H:29
Foam
Definition:
multiFreqScalarFvPatchField.C:144
Foam::DAMotionDummy::DAMotionDummy
DAMotionDummy(const dynamicFvMesh &mesh, const DAOption &daOption)
Definition:
DAMotionDummy.C:19
Generated by
1.8.17