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
ClassName("controlMeshRefinement")
Runtime type information.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m K].
void initialMeshPopulation(const autoPtr< backgroundMeshDecomposition > &decomposition)
label refineMesh(const autoPtr< backgroundMeshDecomposition > &decomposition)
Mid-point interpolation (weighting factors = 0.5) scheme class.
~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...
controlMeshRefinement(cellShapeControl &shapeController)
Construct null.
void operator=(const controlMeshRefinement &)=delete
Disallow default bitwise assignment.