Go to the documentation of this file.
11 #ifndef DAObjFuncMeshQualityKS_H
12 #define DAObjFuncMeshQualityKS_H
15 #include "polyMeshTools.H"
16 #include "addToRunTimeSelectionTable.H"
51 const word objFuncName,
52 const word objFuncPart,
53 const dictionary& objFuncDict);
62 const labelList& objFuncFaceSources,
63 const labelList& objFuncCellSources,
64 scalarList& objFuncFaceValues,
65 scalarList& objFuncCellValues,
66 scalar& objFuncValue);
DAObjFuncMeshQualityKS(const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const DAResidual &daResidual, const word objFuncName, const word objFuncPart, const dictionary &objFuncDict)
virtual void calcObjFunc(const labelList &objFuncFaceSources, const labelList &objFuncCellSources, scalarList &objFuncFaceValues, scalarList &objFuncCellValues, scalar &objFuncValue)
calculate the value of objective function
virtual ~DAObjFuncMeshQualityKS()
DAOption daOption(mesh, pyOptions_)
TypeName("meshQualityKS")
scalar coeffKS_
coefficient for the KS function
word metric_
which mesh quality metric to use
DAModel daModel(mesh, daOption)
DAIndex daIndex(mesh, daOption, daModel)