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

Public Member Functions

 TypeName ("dRdACTL")
 
 DAPartDerivdRdACTL (const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAJacCon &daJacCon, const DAResidual &daResidual)
 
virtual ~DAPartDerivdRdACTL ()
 
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...
 

Protected Attributes

label nActDVs_ = 11
 number of design variables for actuator points 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...
 

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

Detailed Description

Definition at line 26 of file DAPartDerivdRdACTL.H.

Constructor & Destructor Documentation

◆ DAPartDerivdRdACTL()

DAPartDerivdRdACTL ( 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 DAPartDerivdRdACTL.C.

◆ ~DAPartDerivdRdACTL()

virtual ~DAPartDerivdRdACTL ( )
inlinevirtual

Definition at line 50 of file DAPartDerivdRdACTL.H.

Member Function Documentation

◆ TypeName()

TypeName ( "dRdACTL"  )

◆ initializePartDerivMat()

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

initialize partial derivative matrix

Implements DAPartDeriv.

Definition at line 40 of file DAPartDerivdRdACTL.C.

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

◆ calcPartDerivMat()

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

Member Data Documentation

◆ nActDVs_

label nActDVs_ = 11
protected

number of design variables for actuator points

Definition at line 33 of file DAPartDerivdRdACTL.H.

Referenced by DAPartDerivdRdACTL::calcPartDerivMat(), and DAPartDerivdRdACTL::initializePartDerivMat().


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