DAFoam
v4.0.2
Discrete Adjoint with OpenFOAM
dafoam
src
pyUnitTests
UnitTests.H
Go to the documentation of this file.
1
/*---------------------------------------------------------------------------*\
2
3
DAFoam : Discrete Adjoint with OpenFOAM
4
Version : v4
5
6
Description:
7
Python wrapper library for UnitTests
8
9
\*---------------------------------------------------------------------------*/
10
11
#ifndef UnitTests_H
12
#define UnitTests_H
13
14
#include <petscksp.h>
15
#include "Python.h"
16
#include "fvCFD.H"
17
#include "fvMesh.H"
18
#include "runTimeSelectionTables.H"
19
#include "OFstream.H"
20
#include "functionObjectList.H"
21
#include "fvOptions.H"
22
#include "
DAOption.H
"
23
#include "
DAUtility.H
"
24
25
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
26
27
namespace
Foam
28
{
29
30
/*---------------------------------------------------------------------------*\
31
Class UnitTests Declaration
32
\*---------------------------------------------------------------------------*/
33
34
class
UnitTests
35
{
36
37
private
:
39
UnitTests
(
const
UnitTests
&);
40
42
void
operator=(
const
UnitTests
&);
43
45
autoPtr<argList> argsPtr_;
46
47
public
:
48
// Constructors
49
51
UnitTests
();
52
54
virtual
~UnitTests
();
55
57
void
runDAUtilityTest1
(
58
char
* argsAll,
59
PyObject* pyOptions);
60
};
61
62
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
63
64
}
// End namespace Foam
65
66
// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
67
68
#endif
DAOption.H
Foam::UnitTests::runDAUtilityTest1
void runDAUtilityTest1(char *argsAll, PyObject *pyOptions)
run the test
Definition:
UnitTests.C:38
DAUtility.H
Foam::UnitTests::~UnitTests
virtual ~UnitTests()
Destructor.
Definition:
UnitTests.C:34
Foam::UnitTests::UnitTests
UnitTests()
Construct from components.
Definition:
UnitTests.C:30
Foam
Definition:
checkGeometry.C:32
Foam::UnitTests
Definition:
UnitTests.H:34
Generated by
1.8.17