38 #ifndef controlMeshRefinement_H 39 #define controlMeshRefinement_H 71 scalar calcFirstDerivative
74 const scalar& cellSizeA,
76 const scalar& cellSizeB
79 scalar calcSecondDerivative
82 const scalar& cellSizeA,
84 const scalar& cellSizeMid,
86 const scalar& cellSizeB
89 return (cellSizeA - 2*cellSizeMid + cellSizeB)/
magSqr((a -
b)/2);
99 const scalar secondDerivTolSqr
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].
Describes the interaction of a object and a (templated) point. It carries the info of a successful hi...
~controlMeshRefinement()
Destructor.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)