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
Describes the interaction of a face and a point. It carries the info of a successful hit and (if succ...
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
void initialMeshPopulation(const autoPtr< backgroundMeshDecomposition > &decomposition)
controlMeshRefinement(cellShapeControl &shapeController)
Construct null.
ClassName("controlMeshRefinement")
Runtime type information.
~controlMeshRefinement()
Destructor.
label refineMesh(const autoPtr< backgroundMeshDecomposition > &decomposition)
Mid-point interpolation (weighting factors = 0.5) scheme class.
#define ClassName(TypeNameString)
Add typeName information from argument TypeNameString to a class.
dimensioned< typename typeOfMag< Type >::type > magSqr(const dimensioned< Type > &dt)