Go to the documentation of this file.
11 #ifndef DAJacCondFdW_H
12 #define DAJacCondFdW_H
15 #include "addToRunTimeSelectionTable.H"
40 const label idxI)
const;
45 const label idxI)
const;
77 virtual void setupJacCon(
const dictionary& options);
81 scalarList objFuncFaceValues,
82 scalarList objFuncCellValues,
83 Vec objFuncVec)
const;
virtual void initializeJacCon(const dictionary &options)
DAOption daOption(mesh, pyOptions_)
globalIndex globalObjFuncGeoNumbering_
the global numbering for the discrete source of objective function
label objFuncCellSize_
the size of objFunc cells
DAJacCondFdW(const word modelType, const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex)
label getLocalObjFuncGeoIndex(const word idxType, const label idxI) const
get the local index of geometry element for objective
virtual void setupJacCon(const dictionary &options)
assign 1 to all non-zero elements for the Jacobian connecitivyt matrix
DAModel daModel(mesh, daOption)
DAIndex daIndex(mesh, daOption, daModel)
virtual void clear()
clear members in parent and child objects
virtual void setObjFuncVec(scalarList objFuncFaceValues, scalarList objFuncCellValues, Vec objFuncVec) const
assign values for the objective function vector based on the face and cell value lists
label getGlobalObjFuncGeoIndex(const word idxType, const label idxI) const
get the global index of geometry element for objective
label objFuncFaceSize_
the size of objFunc faces
void initializePetscVecs()
initialize petsc vectors