Public Member Functions | |
def | initialize (self) |
def | setup (self) |
def | mphys_add_funcs (self) |
def | add_dv_func (self, dvName, dv_func) |
def | mphys_set_options (self, optionDict) |
def | apply_options (self, optionDict) |
def | compute (self, inputs, outputs) |
def | compute_jacvec_product (self, inputs, d_inputs, d_outputs, mode) |
Public Attributes | |
funcs | |
DASolver | |
discipline | |
dv_funcs | |
optionDict | |
dvType | |
DAFoam objective and constraint functions component
Definition at line 1103 of file mphys_dafoam.py.
def initialize | ( | self | ) |
Definition at line 1108 of file mphys_dafoam.py.
References DAFoamBuilder.options, PYDAFOAM.options, and TensorFlowHelper.options.
def setup | ( | self | ) |
Definition at line 1114 of file mphys_dafoam.py.
def mphys_add_funcs | ( | self | ) |
Definition at line 1161 of file mphys_dafoam.py.
References DAFoamBuilder.DASolver, DAFoamGroup.DASolver, DAFoamPrecouplingGroup.DASolver, DAFoamPostcouplingGroup.DASolver, DAFoamSolver.DASolver, DAFoamMesh.DASolver, DAFoamFunctions.DASolver, and DAFoamFunctions.funcs.
def add_dv_func | ( | self, | |
dvName, | |||
dv_func | |||
) |
Definition at line 1176 of file mphys_dafoam.py.
References DAFoamSolver.dv_funcs, and DAFoamFunctions.dv_funcs.
def mphys_set_options | ( | self, | |
optionDict | |||
) |
Definition at line 1186 of file mphys_dafoam.py.
References DAFoamSolver.optionDict, and DAFoamFunctions.optionDict.
def apply_options | ( | self, | |
optionDict | |||
) |
Definition at line 1191 of file mphys_dafoam.py.
References DAFoamBuilder.DASolver, DAFoamGroup.DASolver, DAFoamPrecouplingGroup.DASolver, DAFoamPostcouplingGroup.DASolver, DAFoamSolver.DASolver, DAFoamMesh.DASolver, and DAFoamFunctions.DASolver.
Referenced by DAFoamFunctions.compute_jacvec_product().
def compute | ( | self, | |
inputs, | |||
outputs | |||
) |
Definition at line 1200 of file mphys_dafoam.py.
References DAFoamBuilder.DASolver, DAFoamGroup.DASolver, DAFoamPrecouplingGroup.DASolver, DAFoamPostcouplingGroup.DASolver, DAFoamSolver.DASolver, DAFoamMesh.DASolver, DAFoamFunctions.DASolver, DAFoamGroup.discipline, DAFoamPrecouplingGroup.discipline, DAFoamSolver.discipline, DAFoamMeshGroup.discipline, DAFoamMesh.discipline, DAFoamFunctions.discipline, and DAFoamFunctions.funcs.
def compute_jacvec_product | ( | self, | |
inputs, | |||
d_inputs, | |||
d_outputs, | |||
mode | |||
) |
Definition at line 1215 of file mphys_dafoam.py.
References DAFoamSolver.apply_options(), DAFoamFunctions.apply_options(), DAFoamBuilder.comm, PYDAFOAM.comm, OptFuncs.comm, DAFoamBuilder.DASolver, DAFoamGroup.DASolver, DAFoamPrecouplingGroup.DASolver, DAFoamPostcouplingGroup.DASolver, DAFoamSolver.DASolver, DAFoamMesh.DASolver, DAFoamFunctions.DASolver, DAFoamGroup.discipline, DAFoamPrecouplingGroup.discipline, DAFoamSolver.discipline, DAFoamMeshGroup.discipline, DAFoamMesh.discipline, DAFoamFunctions.discipline, DAFoamSolver.dv_funcs, DAFoamFunctions.dv_funcs, DAFoamSolver.dvType, DAFoamFunctions.dvType, DAFoamFunctions.funcs, DAFoamSolver.optionDict, and DAFoamFunctions.optionDict.
funcs |
Definition at line 1112 of file mphys_dafoam.py.
Referenced by DAFoamFunctions.compute(), DAFoamFunctions.compute_jacvec_product(), and DAFoamFunctions.mphys_add_funcs().
DASolver |
Definition at line 1116 of file mphys_dafoam.py.
Referenced by DAFoamFunctions.apply_options(), DAFoamFunctions.compute(), DAFoamWarper.compute(), DAFoamThermal.compute(), DAFoamFaceCoords.compute(), DAFoamForces.compute(), DAFoamAcoustics.compute(), DAFoamFvSource.compute(), DAFoamFunctions.compute_jacvec_product(), DAFoamWarper.compute_jacvec_product(), DAFoamThermal.compute_jacvec_product(), DAFoamFaceCoords.compute_jacvec_product(), DAFoamForces.compute_jacvec_product(), DAFoamAcoustics.compute_jacvec_product(), DAFoamFvSource.compute_jacvec_product(), and DAFoamFunctions.mphys_add_funcs().
discipline |
Definition at line 1118 of file mphys_dafoam.py.
Referenced by DAFoamFunctions.compute(), DAFoamWarper.compute(), DAFoamThermal.compute(), DAFoamFaceCoords.compute(), DAFoamForces.compute(), DAFoamAcoustics.compute(), DAFoamFunctions.compute_jacvec_product(), DAFoamWarper.compute_jacvec_product(), DAFoamThermal.compute_jacvec_product(), DAFoamFaceCoords.compute_jacvec_product(), DAFoamForces.compute_jacvec_product(), and DAFoamAcoustics.compute_jacvec_product().
dv_funcs |
Definition at line 1121 of file mphys_dafoam.py.
Referenced by DAFoamFunctions.add_dv_func(), and DAFoamFunctions.compute_jacvec_product().
optionDict |
Definition at line 1123 of file mphys_dafoam.py.
Referenced by DAFoamFunctions.compute_jacvec_product(), and DAFoamFunctions.mphys_set_options().
dvType |
Definition at line 1127 of file mphys_dafoam.py.
Referenced by DAFoamFunctions.compute_jacvec_product().