36 #ifndef controlMeshRefinement_H 37 #define controlMeshRefinement_H 69 scalar calcFirstDerivative
72 const scalar& cellSizeA,
74 const scalar& cellSizeB
77 scalar calcSecondDerivative
80 const scalar& cellSizeA,
82 const scalar& cellSizeMid,
84 const scalar& cellSizeB
87 return (cellSizeA - 2*cellSizeMid + cellSizeB)/
magSqr((a - b)/2);
97 const scalar secondDerivTolSqr
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
ClassName("controlMeshRefinement")
Runtime type information.
void initialMeshPopulation(const autoPtr< backgroundMeshDecomposition > &decomposition)
label refineMesh(const autoPtr< backgroundMeshDecomposition > &decomposition)
Mid-point interpolation (weighting factors = 0.5) scheme class.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
~controlMeshRefinement()
Destructor.
dimensioned< scalar > magSqr(const dimensioned< Type > &)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...