DAP1.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 the P1 radiation model
8 
9 \*---------------------------------------------------------------------------*/
10 
11 #ifndef DAP1_H
12 #define DAP1_H
13 
14 #include "DARadiationModel.H"
15 #include "addToRunTimeSelectionTable.H"
16 
17 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
18 
19 namespace Foam
20 {
21 
22 /*---------------------------------------------------------------------------*\
23  Class DAP1 Declaration
24 \*---------------------------------------------------------------------------*/
25 
26 class DAP1
27  : public DARadiationModel
28 {
29 
30 protected:
31 public:
32  TypeName("P1");
33  // Constructors
34 
35  //- Construct from components
36  DAP1(
37  const word modelType,
38  const fvMesh& mesh,
39  const DAOption& daOption);
40 
41  //- Destructor
42  virtual ~DAP1()
43  {
44  }
45 
46  // Member functions
47  virtual void addModelResidualCon(HashTable<List<List<word>>>& allCon) const;
48 };
49 
50 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
51 
52 } // End namespace Foam
53 
54 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
55 
56 #endif
57 
58 // ************************************************************************* //
Foam::DAP1
Definition: DAP1.H:26
Foam::DAOption
Definition: DAOption.H:29
Foam::DAP1::DAP1
DAP1(const word modelType, const fvMesh &mesh, const DAOption &daOption)
Definition: DAP1.C:19
daOption
DAOption daOption(mesh, pyOptions_)
Foam::DAP1::addModelResidualCon
virtual void addModelResidualCon(HashTable< List< List< word >>> &allCon) const
add the model residual connectivity to stateCon
Definition: DAP1.C:28
mesh
fvMesh & mesh
Definition: createRefsHeatTransfer.H:4
Foam::DAP1::~DAP1
virtual ~DAP1()
Definition: DAP1.H:42
Foam::DAP1::TypeName
TypeName("P1")
Foam
Definition: multiFreqScalarFvPatchField.C:144
DARadiationModel.H
Foam::DARadiationModel
Definition: DARadiationModel.H:27