DAPartDerivdRdFFD.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 dRdFFD
8 
9 \*---------------------------------------------------------------------------*/
10 
11 #ifndef DAPartDerivdRdFFD_H
12 #define DAPartDerivdRdFFD_H
13 
14 #include "DAPartDeriv.H"
15 #include "addToRunTimeSelectionTable.H"
16 
17 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 
19 namespace Foam
20 {
21 
22 /*---------------------------------------------------------------------------*\
23  Class DAPartDerivdRdFFD Declaration
24 \*---------------------------------------------------------------------------*/
25 
27  : public DAPartDeriv
28 {
29 
30 protected:
31 public:
32  TypeName("dRdFFD");
33  // Constructors
34 
35  //- Construct from components
37  const word modelType,
38  const fvMesh& mesh,
39  const DAOption& daOption,
40  const DAModel& daModel,
41  const DAIndex& daIndex,
42  const DAJacCon& daJacCon,
43  const DAResidual& daResidual);
44 
45  //- Destructor
47  {
48  }
49 
50  // Member functions
51 
53  virtual void initializePartDerivMat(
54  const dictionary& options,
55  Mat jacMat);
56 
58  virtual void calcPartDerivMat(
59  const dictionary& options,
60  const Vec xvVec,
61  const Vec wVec,
62  Mat jacMat);
63 };
64 
65 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
66 
67 } // End namespace Foam
68 
69 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
70 
71 #endif
72 
73 // ************************************************************************* //
Foam::DAPartDerivdRdFFD::initializePartDerivMat
virtual void initializePartDerivMat(const dictionary &options, Mat jacMat)
initialize partial derivative matrix
Definition: DAPartDerivdRdFFD.C:40
Foam::DAJacCon
Definition: DAJacCon.H:34
Foam::DAPartDerivdRdFFD::TypeName
TypeName("dRdFFD")
Foam::DAPartDerivdRdFFD::calcPartDerivMat
virtual void calcPartDerivMat(const dictionary &options, const Vec xvVec, const Vec wVec, Mat jacMat)
compute the partial derivative matrix
Definition: DAPartDerivdRdFFD.C:74
Foam::DAOption
Definition: DAOption.H:29
Foam::DAPartDerivdRdFFD::DAPartDerivdRdFFD
DAPartDerivdRdFFD(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAJacCon &daJacCon, const DAResidual &daResidual)
Definition: DAPartDerivdRdFFD.C:19
daOption
DAOption daOption(mesh, pyOptions_)
Foam::DAPartDerivdRdFFD::~DAPartDerivdRdFFD
virtual ~DAPartDerivdRdFFD()
Definition: DAPartDerivdRdFFD.H:46
mesh
fvMesh & mesh
Definition: createRefsHeatTransfer.H:4
Foam::DAIndex
Definition: DAIndex.H:32
Foam::DAModel
Definition: DAModel.H:59
Foam
Definition: multiFreqScalarFvPatchField.C:144
Foam::DAResidual
Definition: DAResidual.H:35
DAPartDeriv.H
daModel
DAModel daModel(mesh, daOption)
Foam::DAPartDeriv
Definition: DAPartDeriv.H:36
daIndex
DAIndex daIndex(mesh, daOption, daModel)
Foam::DAPartDerivdRdFFD
Definition: DAPartDerivdRdFFD.H:26