Public Member Functions | List of all members
DAPartDerivdRdW Class Reference
Inheritance diagram for DAPartDerivdRdW:
Inheritance graph
[legend]
Collaboration diagram for DAPartDerivdRdW:
Collaboration graph
[legend]

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< DAPartDerivNew (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 DAOptiondaOption_
 DAOption object. More...
 
const DAModeldaModel_
 DAModel object. More...
 
const DAIndexdaIndex_
 DAIndex object. More...
 
const DAJacCondaJacCon_
 DAJacCon object. More...
 
const DAResidualdaResidual_
 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...
 

Detailed Description

Definition at line 26 of file DAPartDerivdRdW.H.

Constructor & Destructor Documentation

◆ DAPartDerivdRdW()

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.

◆ ~DAPartDerivdRdW()

virtual ~DAPartDerivdRdW ( )
inlinevirtual

Definition at line 46 of file DAPartDerivdRdW.H.

Member Function Documentation

◆ TypeName()

TypeName ( "dRdW"  )

◆ initializePartDerivMat()

void initializePartDerivMat ( const dictionary &  options,
Mat  jacMat 
)
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().

Here is the call graph for this function:

◆ calcPartDerivMat()

void calcPartDerivMat ( const dictionary &  options,
const Vec  xvVec,
const Vec  wVec,
Mat  jacMat 
)
virtual

The documentation for this class was generated from the following files: