DASolvers.C
Go to the documentation of this file.
1 /*---------------------------------------------------------------------------*\
2 
3  DAFoam : Discrete Adjoint with OpenFOAM
4  Version : v3
5 
6 \*---------------------------------------------------------------------------*/
7 #include "DASolvers.H"
8 
9 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
10 
11 namespace Foam
12 {
13 
14 // Constructors
15 DASolvers::DASolvers(
16  char* argsAll,
17  PyObject* pyOptions)
18  : argsAll_(argsAll),
19  pyOptions_(pyOptions),
20  DASolverPtr_(nullptr)
21 {
22  DASolverPtr_.reset(DASolver::New(argsAll, pyOptions));
23 }
24 
26 {
27 }
28 
29 // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //
30 
31 } // End namespace Foam
32 
33 // ************************************************************************* //
Foam::DASolvers::~DASolvers
virtual ~DASolvers()
Destructor.
Definition: DASolvers.C:25
Foam
Definition: multiFreqScalarFvPatchField.C:144
DASolvers.H
Foam::DASolver::New
static autoPtr< DASolver > New(char *argsAll, PyObject *pyOptions)
Definition: DASolver.C:69