Go to the documentation of this file.
34 #ifndef surfaceOffsetLinearDistance_H
35 #define surfaceOffsetLinearDistance_H
80 TypeName(
"surfaceOffsetLinearDistance");
89 const scalar& defaultCellSize,
TypeName("surfaceOffsetLinearDistance")
Runtime type information.
scalar totalDistance_
Total distance from the surface to control over (distance +.
virtual ~surfaceOffsetLinearDistance()
Destructor.
Abstract base class for specifying target cell sizes.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
Pre-declare SubField and related Field type.
scalar sizeFunction(const point &pt, scalar d, label index) const
Calculate the cell size as a function of the given distance.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
scalar surfaceOffset_
Offset distance from surface for constant size portion.
A list of keyword definitions, which are a keyword followed by any number of values (e....
surfaceOffsetLinearDistance(const dictionary &initialPointsDict, const searchableSurface &surface, const scalar &defaultCellSize, const labelList regionIndices)
Construct from components.
virtual bool cellSize(const point &pt, scalar &size) const
Modify scalar argument to the cell size specified by function.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
virtual bool sizeLocations(const pointIndexHit &hitPt, const vector &n, pointField &shapePts, scalarField &shapeSizes) const
scalar totalDistanceSqr_
totalDistance squared
scalar distanceCellSize_
Cell size at distance_ from the surface.