Go to the documentation of this file.
15 #include "runTimeSelectionTables.H"
16 #include "fvOptions.H"
22 #include "syncTools.H"
76 const Vec jacConColors,
77 const Vec normStatePerturbVec,
84 const dictionary options,
90 const Vec coloredColumn,
91 const label transposed,
93 const scalar jacLowerBound=1e-30)
const;
97 const dictionary options,
112 (
const word modelType,
131 const word modelType,
142 static autoPtr<DAPartDeriv>
New(
143 const word modelType,
166 const dictionary& options,
171 const dictionary& options,
void clear()
clear members in parent and child objects
const DAIndex & daIndex_
DAIndex object.
DAOption daOption(mesh, pyOptions_)
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
const DAJacCon & daJacCon_
DAJacCon object.
const DAOption & daOption_
DAOption object.
const fvMesh & mesh_
fvMesh
HashTable< wordList > stateInfo_
the stateInfo_ list from DAStateInfo object
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)
virtual void initializePartDerivMat(const dictionary &options, Mat jacMat)=0
initialize partial derivative matrix
void perturbAOA(const dictionary options, const scalar delta)
perturb the angle of attack
TypeName("DAPartDeriv")
Runtime type information.
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))
void perturbBC(const dictionary options, const scalar delta)
perturb the values in the boundary condition
const word modelType_
the name of the jacCon matrix
DAModel daModel(mesh, daOption)
void setdXvdFFDMat(const Mat dXvdFFDMat)
setup dXvdFFD matrix
const DAResidual & daResidual_
DAResidual object.
void perturbStates(const Vec jacConColors, const Vec normStatePerturbVec, const label colorI, const scalar delta, Vec wVec)
perturb state variables given a color index
Mat dXvdFFDMat_
volume mesh coordinates wrt the ffd point coordinate partials
DAIndex daIndex(mesh, daOption, daModel)
void setNormStatePerturbVec(Vec *normStatePerturbVec)
setup the state normalization vector
virtual void calcPartDerivMat(const dictionary &options, const Vec xvVec, const Vec wVec, Mat jacMat)=0
compute the partial derivative matrix
const dictionary & allOptions_
all the DAFoam option
const DAModel & daModel_
DAModel object.