DAPartDerivdRdBC.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 dRdBC
8 
9 \*---------------------------------------------------------------------------*/
10 
11 #ifndef DAPartDerivdRdBC_H
12 #define DAPartDerivdRdBC_H
13 
14 #include "DAPartDeriv.H"
15 #include "addToRunTimeSelectionTable.H"
16 
17 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 
19 namespace Foam
20 {
21 
22 /*---------------------------------------------------------------------------*\
23  Class DAPartDerivdRdBC Declaration
24 \*---------------------------------------------------------------------------*/
25 
27  : public DAPartDeriv
28 {
29 
30 protected:
31 public:
32  TypeName("dRdBC");
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::DAJacCon
Definition: DAJacCon.H:34
Foam::DAPartDerivdRdBC
Definition: DAPartDerivdRdBC.H:26
Foam::DAPartDerivdRdBC::initializePartDerivMat
virtual void initializePartDerivMat(const dictionary &options, Mat jacMat)
initialize partial derivative matrix
Definition: DAPartDerivdRdBC.C:40
Foam::DAOption
Definition: DAOption.H:29
daOption
DAOption daOption(mesh, pyOptions_)
Foam::DAPartDerivdRdBC::TypeName
TypeName("dRdBC")
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::DAPartDerivdRdBC::~DAPartDerivdRdBC
virtual ~DAPartDerivdRdBC()
Definition: DAPartDerivdRdBC.H:46
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::DAPartDerivdRdBC::DAPartDerivdRdBC
DAPartDerivdRdBC(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAJacCon &daJacCon, const DAResidual &daResidual)
Definition: DAPartDerivdRdBC.C:19
Foam::DAPartDerivdRdBC::calcPartDerivMat
virtual void calcPartDerivMat(const dictionary &options, const Vec xvVec, const Vec wVec, Mat jacMat)
compute the partial derivative matrix
Definition: DAPartDerivdRdBC.C:72