Public Member Functions | |
TypeName ("dRdW") | |
DAPartDerivdRdW (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAJacCon &daJacCon, const DAResidual &daResidual) | |
virtual | ~DAPartDerivdRdW () |
virtual void | initializePartDerivMat (const dictionary &options, Mat jacMat) |
initialize partial derivative matrix More... | |
virtual void | calcPartDerivMat (const dictionary &options, const Vec xvVec, const Vec wVec, Mat jacMat) |
compute the partial derivative matrix More... | |
Public Member Functions inherited from DAPartDeriv | |
TypeName ("DAPartDeriv") | |
Runtime type information. More... | |
declareRunTimeSelectionTable (autoPtr, DAPartDeriv, dictionary,(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAJacCon &daJacCon, const DAResidual &daResidual),(modelType, mesh, daOption, daModel, daIndex, daJacCon, daResidual)) | |
DAPartDeriv (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAJacCon &daJacCon, const DAResidual &daResidual) | |
virtual | ~DAPartDeriv () |
void | clear () |
clear members in parent and child objects More... | |
void | setdXvdFFDMat (const Mat dXvdFFDMat) |
setup dXvdFFD matrix More... | |
void | setNormStatePerturbVec (Vec *normStatePerturbVec) |
setup the state normalization vector More... | |
Additional Inherited Members | |
Static Public Member Functions inherited from DAPartDeriv | |
static autoPtr< DAPartDeriv > | New (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAJacCon &daJacCon, const DAResidual &daResidual) |
Protected Member Functions inherited from DAPartDeriv | |
void | perturbStates (const Vec jacConColors, const Vec normStatePerturbVec, const label colorI, const scalar delta, Vec wVec) |
perturb state variables given a color index More... | |
void | perturbBC (const dictionary options, const scalar delta) |
perturb the values in the boundary condition More... | |
void | setPartDerivMat (const Vec resVec, const Vec coloredColumn, const label transposed, Mat jacMat, const scalar jacLowerBound=1e-30) const |
set values for the partial derivative matrix More... | |
void | perturbAOA (const dictionary options, const scalar delta) |
perturb the angle of attack More... | |
Protected Attributes inherited from DAPartDeriv | |
const word | modelType_ |
the name of the jacCon matrix More... | |
const fvMesh & | mesh_ |
fvMesh More... | |
const DAOption & | daOption_ |
DAOption object. More... | |
const DAModel & | daModel_ |
DAModel object. More... | |
const DAIndex & | daIndex_ |
DAIndex object. More... | |
const DAJacCon & | daJacCon_ |
DAJacCon object. More... | |
const DAResidual & | daResidual_ |
DAResidual object. More... | |
const dictionary & | allOptions_ |
all the DAFoam option More... | |
HashTable< wordList > | stateInfo_ |
the stateInfo_ list from DAStateInfo object More... | |
Mat | dXvdFFDMat_ |
volume mesh coordinates wrt the ffd point coordinate partials More... | |
Definition at line 26 of file DAPartDerivdRdW.H.
DAPartDerivdRdW | ( | const word | modelType, |
const fvMesh & | mesh, | ||
const DAOption & | daOption, | ||
const DAModel & | daModel, | ||
const DAIndex & | daIndex, | ||
const DAJacCon & | daJacCon, | ||
const DAResidual & | daResidual | ||
) |
Definition at line 19 of file DAPartDerivdRdW.C.
|
inlinevirtual |
Definition at line 46 of file DAPartDerivdRdW.H.
TypeName | ( | "dRdW" | ) |
|
virtual |
initialize partial derivative matrix
Implements DAPartDeriv.
Definition at line 40 of file DAPartDerivdRdW.C.
References DAPartDeriv::daIndex_, DAPartDeriv::daJacCon_, DAPartDeriv::mesh_, DAIndex::nLocalAdjointStates, and DAJacCon::preallocatedRdW().
|
virtual |
compute the partial derivative matrix
Implements DAPartDeriv.
Definition at line 73 of file DAPartDerivdRdW.C.
References assignValueCheckAD, DAJacCon::calcColoredColumns(), DAPartDeriv::daIndex_, DAPartDeriv::daJacCon_, DAPartDeriv::daOption_, DAPartDeriv::daResidual_, DAJacCon::getJacConColor(), DAJacCon::getNJacConColors(), DAOption::getOption(), DAOption::getSubDictOption(), DAResidual::masterFunction(), DAPartDeriv::mesh_, DAPartDeriv::modelType_, DAPartDeriv::perturbStates(), DAIndex::printMatChars(), DAPartDeriv::setNormStatePerturbVec(), and DAPartDeriv::setPartDerivMat().