DAFoam
v3.0.6
Discrete Adjoint with OpenFOAM
dafoam
src
utilities
coloring
pyColoringCompressible
ColoringCompressible.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 ColoringCompressible_H
12
#define ColoringCompressible_H
13
14
#include <petscksp.h>
15
#include "Python.h"
16
#include "fluidThermo.H"
17
#include "turbulentFluidThermoModel.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 ColoringCompressible Declaration
37
\*---------------------------------------------------------------------------*/
38
39
class
ColoringCompressible
40
{
41
42
private
:
44
ColoringCompressible
(
const
ColoringCompressible
&);
45
47
void
operator=(
const
ColoringCompressible
&);
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
68
ColoringCompressible
(
69
char
* argsAll,
70
PyObject* pyOptions);
71
73
virtual
~ColoringCompressible
();
74
76
void
run
();
77
};
78
79
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
80
81
}
// End namespace Foam
82
83
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
84
85
#endif
DAOption.H
Foam::ColoringCompressible::run
void run()
run
Definition:
ColoringCompressible.C:31
DAIndex.H
DACheckMesh.H
DAUtility.H
DAJacCon.H
DAResidual.H
DAModel.H
Foam
Definition:
multiFreqScalarFvPatchField.C:144
DAStateInfo.H
Foam::ColoringCompressible::~ColoringCompressible
virtual ~ColoringCompressible()
Destructor.
Definition:
ColoringCompressible.C:27
DAObjFunc.H
Foam::ColoringCompressible
Definition:
ColoringCompressible.H:39
DATurbulenceModel.H
Generated by
1.8.17