Go to the documentation of this file.
11 #ifndef DAFunctionLocation_H
12 #define DAFunctionLocation_H
15 #include "addToRunTimeSelectionTable.H"
65 const word functionName);
76 label snappedCenterCellI,
label snapCenter2Cell_
whether to snap the center to a cell in the mesh if yes the center will move with the mesh
label snappedCenterCellI_
the cell index for the center if snapCenter2Cell_ = 1
vector center_
center for radius computation
label maxRPatchI_
maxRadius patchI
vector axis_
axis for radius computation
label maxRFaceI_
maxRadius patchI
word mode_
location mode to use
virtual scalar calcFunction()
calculate the value of objective function
void findGlobalSnappedCenter(label snappedCenterCellI, vector ¢er)
DAFunctionLocation(const fvMesh &mesh, const DAOption &daOption, const DAModel &daModel, const DAIndex &daIndex, const word functionName)
scalar coeffKS_
coefficient for the KS function
virtual ~DAFunctionLocation()