DAFoam
v3.0.6
Discrete Adjoint with OpenFOAM
Main Page
Classes
Class List
Class Index
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
i
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
Typedefs
Related Functions
Files
File List
File Members
All
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
v
w
Functions
a
c
d
e
f
h
i
l
m
p
r
s
t
u
v
w
Variables
a
c
d
e
f
g
h
i
k
l
m
n
p
r
s
t
u
Macros
a
c
m
n
p
s
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
dafoam
src
adjoint
DAPartDeriv
DAPartDerivdRdACTD.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 dRdACTD
8
9
\*---------------------------------------------------------------------------*/
10
11
#ifndef DAPartDerivdRdACTD_H
12
#define DAPartDerivdRdACTD_H
13
14
#include "
DAPartDeriv.H
"
15
#include "addToRunTimeSelectionTable.H"
16
17
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18
19
namespace
Foam
20
{
21
22
/*---------------------------------------------------------------------------*\
23
Class DAPartDerivdRdACTD Declaration
24
\*---------------------------------------------------------------------------*/
25
26
class
DAPartDerivdRdACTD
27
:
public
DAPartDeriv
28
{
29
30
protected
:
31
33
label
nActDVs_
= 10;
34
35
public
:
36
TypeName
(
"dRdACTD"
);
37
// Constructors
38
39
//- Construct from components
40
DAPartDerivdRdACTD
(
41
const
word modelType,
42
const
fvMesh&
mesh
,
43
const
DAOption
&
daOption
,
44
const
DAModel
&
daModel
,
45
const
DAIndex
&
daIndex
,
46
const
DAJacCon
& daJacCon,
47
const
DAResidual
& daResidual);
48
49
//- Destructor
50
virtual
~DAPartDerivdRdACTD
()
51
{
52
}
53
54
// Member functions
55
57
virtual
void
initializePartDerivMat
(
58
const
dictionary& options,
59
Mat jacMat);
60
62
virtual
void
calcPartDerivMat
(
63
const
dictionary& options,
64
const
Vec xvVec,
65
const
Vec wVec,
66
Mat jacMat);
67
};
68
69
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
70
71
}
// End namespace Foam
72
73
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
74
75
#endif
76
77
// ************************************************************************* //
Foam::DAPartDerivdRdACTD::DAPartDerivdRdACTD
DAPartDerivdRdACTD(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAJacCon &daJacCon, const DAResidual &daResidual)
Definition:
DAPartDerivdRdACTD.C:19
Foam::DAPartDerivdRdACTD::initializePartDerivMat
virtual void initializePartDerivMat(const dictionary &options, Mat jacMat)
initialize partial derivative matrix
Definition:
DAPartDerivdRdACTD.C:40
Foam::DAJacCon
Definition:
DAJacCon.H:34
Foam::DAPartDerivdRdACTD::calcPartDerivMat
virtual void calcPartDerivMat(const dictionary &options, const Vec xvVec, const Vec wVec, Mat jacMat)
compute the partial derivative matrix
Definition:
DAPartDerivdRdACTD.C:69
Foam::DAOption
Definition:
DAOption.H:29
daOption
DAOption daOption(mesh, pyOptions_)
Foam::DAPartDerivdRdACTD::nActDVs_
label nActDVs_
number of design variables for actuator disk
Definition:
DAPartDerivdRdACTD.H:33
mesh
fvMesh & mesh
Definition:
createRefsHeatTransfer.H:4
Foam::DAIndex
Definition:
DAIndex.H:32
Foam::DAModel
Definition:
DAModel.H:59
Foam::DAPartDerivdRdACTD::TypeName
TypeName("dRdACTD")
Foam
Definition:
multiFreqScalarFvPatchField.C:144
Foam::DAPartDerivdRdACTD
Definition:
DAPartDerivdRdACTD.H:26
Foam::DAResidual
Definition:
DAResidual.H:35
DAPartDeriv.H
Foam::DAPartDerivdRdACTD::~DAPartDerivdRdACTD
virtual ~DAPartDerivdRdACTD()
Definition:
DAPartDerivdRdACTD.H:50
daModel
DAModel daModel(mesh, daOption)
Foam::DAPartDeriv
Definition:
DAPartDeriv.H:36
daIndex
DAIndex daIndex(mesh, daOption, daModel)
Generated by
1.8.17