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

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< 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 DAPartDerivdRdBC.H.

Constructor & Destructor Documentation

◆ DAPartDerivdRdBC()

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.

◆ ~DAPartDerivdRdBC()

virtual ~DAPartDerivdRdBC ( )
inlinevirtual

Definition at line 46 of file DAPartDerivdRdBC.H.

Member Function Documentation

◆ TypeName()

TypeName ( "dRdBC"  )

◆ initializePartDerivMat()

void initializePartDerivMat ( const dictionary &  options,
Mat  jacMat 
)
virtual

initialize partial derivative matrix

Implements DAPartDeriv.

Definition at line 40 of file DAPartDerivdRdBC.C.

References DAPartDeriv::daIndex_, DAPartDeriv::mesh_, and DAIndex::nLocalAdjointStates.

◆ calcPartDerivMat()

void calcPartDerivMat ( const dictionary &  options,
const Vec  xvVec,
const Vec  wVec,
Mat  jacMat 
)
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().

Here is the call graph for this function:

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