Public Member Functions | |
TypeName ("dRdBC") | |
DAPartDerivdRdBC (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAJacCon &daJacCon, const DAResidual &daResidual) | |
virtual | ~DAPartDerivdRdBC () |
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 DAPartDerivdRdBC.H.
DAPartDerivdRdBC | ( | 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 DAPartDerivdRdBC.C.
|
inlinevirtual |
Definition at line 46 of file DAPartDerivdRdBC.H.
TypeName | ( | "dRdBC" | ) |
|
virtual |
initialize partial derivative matrix
Implements DAPartDeriv.
Definition at line 40 of file DAPartDerivdRdBC.C.
References DAPartDeriv::daIndex_, DAPartDeriv::mesh_, and DAIndex::nLocalAdjointStates.
|
virtual |
compute the partial derivative matrix
Implements DAPartDeriv.
Definition at line 72 of file DAPartDerivdRdBC.C.
References assignValueCheckAD, DAPartDeriv::daOption_, DAPartDeriv::daResidual_, DAOption::getSubDictOption(), DAResidual::masterFunction(), and DAPartDeriv::perturbBC().