Static Public Member Functions | |
| def | initialize () |
| def | setModelName (modelName) |
| def | predict (inputs, n, outputs, m) |
| def | calcJacVecProd (inputs, inputs_b, n, outputs, outputs_b, m) |
Static Public Attributes | |
| dictionary | options = {} |
| dictionary | model = {} |
| modelName = None | |
| dictionary | predictBatchSize = {} |
| dictionary | nInputs = {} |
TensorFlow helper class. NOTE: this is a static class because the callback function does not accept non-static class members (seg fault)
Definition at line 2227 of file pyDAFoam.py.
|
static |
Initialize parameters and load models
Definition at line 2245 of file pyDAFoam.py.
|
static |
Set the model name from the C++ to Python layer
Definition at line 2258 of file pyDAFoam.py.
|
static |
Calculate the outputs based on the inputs using the saved model
Definition at line 2265 of file pyDAFoam.py.
|
static |
Calculate the gradients of the outputs wrt the inputs
Definition at line 2281 of file pyDAFoam.py.
|
static |
Definition at line 2234 of file pyDAFoam.py.
Referenced by DAFoamGroup.initialize(), DAFoamPrecouplingGroup.initialize(), DAFoamPostcouplingGroup.initialize(), DAFoamSolver.initialize(), DAFoamMesh.initialize(), DAFoamFunctions.initialize(), DAFoamWarper.initialize(), DAFoamThermal.initialize(), DAFoamFaceCoords.initialize(), DAFoamForces.initialize(), DAFoamBuilderUnsteady.initialize(), and DAFoamSolverUnsteady.initialize().
|
static |
Definition at line 2236 of file pyDAFoam.py.
|
static |
Definition at line 2238 of file pyDAFoam.py.
|
static |
Definition at line 2240 of file pyDAFoam.py.
|
static |
Definition at line 2242 of file pyDAFoam.py.