ColoringIncompressible.H
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2 
3  DAFoam : Discrete Adjoint with OpenFOAM
4  Version : v3
5 
6  Description:
7  Python wrapper library for computing coloring
8 
9 \*---------------------------------------------------------------------------*/
10 
11 #ifndef ColoringIncompressible_H
12 #define ColoringIncompressible_H
13 
14 #include <petscksp.h>
15 #include "Python.h"
16 #include "singlePhaseTransportModel.H"
17 #include "turbulentTransportModel.H"
18 #include "argList.H"
19 #include "DAUtility.H"
20 #include "DACheckMesh.H"
21 #include "DAOption.H"
22 #include "DAStateInfo.H"
23 #include "DAModel.H"
24 #include "DATurbulenceModel.H"
25 #include "DAIndex.H"
26 #include "DAObjFunc.H"
27 #include "DAJacCon.H"
28 #include "DAResidual.H"
29 
30 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
31 
32 namespace Foam
33 {
34 
35 /*---------------------------------------------------------------------------*\
36  Class ColoringIncompressible Declaration
37 \*---------------------------------------------------------------------------*/
38 
40 {
41 
42 private:
45 
47  void operator=(const ColoringIncompressible&);
48 
50  char* argsAll_;
51 
53  PyObject* pyOptions_;
54 
56  autoPtr<argList> argsPtr_;
57 
59  autoPtr<Time> runTimePtr_;
60 
62  autoPtr<fvMesh> meshPtr_;
63 
64 public:
65  // Constructors
66 
69  char* argsAll,
70  PyObject* pyOptions);
71 
73  virtual ~ColoringIncompressible();
74 
76  void run();
77 };
78 
79 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
80 
81 } // End namespace Foam
82 
83 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
84 
85 #endif
DAOption.H
DAIndex.H
DACheckMesh.H
DAUtility.H
DAJacCon.H
DAResidual.H
DAModel.H
Foam::ColoringIncompressible::~ColoringIncompressible
virtual ~ColoringIncompressible()
Destructor.
Definition: ColoringIncompressible.C:27
Foam::ColoringIncompressible
Definition: ColoringIncompressible.H:39
Foam
Definition: multiFreqScalarFvPatchField.C:144
Foam::ColoringIncompressible::run
void run()
run
Definition: ColoringIncompressible.C:31
DAStateInfo.H
DAObjFunc.H
DATurbulenceModel.H