Go to the documentation of this file.
36 #ifndef controlMeshRefinement_H
37 #define controlMeshRefinement_H
72 const scalar& cellSizeA,
74 const scalar& cellSizeB
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
void operator=(const controlMeshRefinement &)
Disallow default bitwise assignment.
This class describes the interaction of a face and a point. It carries the info of a successful hit a...
Mid-point interpolation (weighting factors = 0.5) scheme class.
bool detectEdge(const Foam::point &startPt, const Foam::point &endPt, pointHit &pointFound, const scalar tolSqr, const scalar secondDerivTolSqr) const
cellShapeControlMesh & mesh_
~controlMeshRefinement()
Destructor.
const cellShapeControl & shapeController_
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const dimensionedScalar b
Wien displacement law constant: default SI units: [m.K].
pointHit findDiscontinuities(const linePointRef &l) const
void initialMeshPopulation(const autoPtr< backgroundMeshDecomposition > &decomposition)
scalar calcSecondDerivative(const Foam::point &a, const scalar &cellSizeA, const Foam::point &midPoint, const scalar &cellSizeMid, const Foam::point &b, const scalar &cellSizeB) const
label refineMesh(const autoPtr< backgroundMeshDecomposition > &decomposition)
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
scalar calcFirstDerivative(const Foam::point &a, const scalar &cellSizeA, const Foam::point &b, const scalar &cellSizeB) const
const cellSizeAndAlignmentControls & sizeControls_
const conformationSurfaces & geometryToConformTo_
controlMeshRefinement(const controlMeshRefinement &)
Disallow default bitwise copy construct.
ClassName("controlMeshRefinement")
Runtime type information.
dimensioned< scalar > magSqr(const dimensioned< Type > &)