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