DAFoam
v3.0.6
Discrete Adjoint with OpenFOAM
dafoam
src
utilities
coloring
pyColoringSolid
ColoringSolid.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 ColoringSolid_H
12
#define ColoringSolid_H
13
14
#include <petscksp.h>
15
#include "Python.h"
16
#include "argList.H"
17
#include "
DAUtility.H
"
18
#include "
DACheckMesh.H
"
19
#include "
DAOption.H
"
20
#include "
DAStateInfo.H
"
21
#include "
DAModel.H
"
22
#include "
DAIndex.H
"
23
#include "
DAObjFunc.H
"
24
#include "
DAJacCon.H
"
25
#include "
DAResidual.H
"
26
27
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
28
29
namespace
Foam
30
{
31
32
/*---------------------------------------------------------------------------*\
33
Class ColoringSolid Declaration
34
\*---------------------------------------------------------------------------*/
35
36
class
ColoringSolid
37
{
38
39
private
:
41
ColoringSolid
(
const
ColoringSolid
&);
42
44
void
operator=(
const
ColoringSolid
&);
45
47
char
* argsAll_;
48
50
PyObject* pyOptions_;
51
53
autoPtr<argList> argsPtr_;
54
56
autoPtr<Time> runTimePtr_;
57
59
autoPtr<fvMesh> meshPtr_;
60
61
public
:
62
// Constructors
63
65
ColoringSolid
(
66
char
* argsAll,
67
PyObject* pyOptions);
68
70
virtual
~ColoringSolid
();
71
73
void
run
();
74
};
75
76
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
77
78
}
// End namespace Foam
79
80
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
81
82
#endif
DAOption.H
DAIndex.H
DACheckMesh.H
DAUtility.H
DAJacCon.H
DAResidual.H
DAModel.H
Foam
Definition:
multiFreqScalarFvPatchField.C:144
Foam::ColoringSolid::~ColoringSolid
virtual ~ColoringSolid()
Destructor.
Definition:
ColoringSolid.C:27
Foam::ColoringSolid::run
void run()
run
Definition:
ColoringSolid.C:31
DAStateInfo.H
Foam::ColoringSolid
Definition:
ColoringSolid.H:36
DAObjFunc.H
Generated by
1.8.17