37 #ifndef surfaceOffsetLinearDistance_H 38 #define surfaceOffsetLinearDistance_H 61 scalar distanceCellSize_;
64 scalar surfaceOffset_;
68 scalar totalDistance_;
71 scalar totalDistanceSqr_;
77 scalar sizeFunction(
const point& pt, scalar d, label index)
const;
83 TypeName(
"surfaceOffsetLinearDistance");
92 const scalar& defaultCellSize,
virtual bool sizeLocations(const pointIndexHit &hitPt, const vector &n, pointField &shapePts, scalarField &shapeSizes) const
A list of keyword definitions, which are a keyword followed by a number of values (eg...
Abstract base class for specifying target cell sizes.
This class describes the interaction of an object (often a face) and a point. It carries the info of ...
Base class of (analytical or triangulated) surface. Encapsulates all the search routines. WIP.
virtual ~surfaceOffsetLinearDistance()=default
Destructor.
surfaceOffsetLinearDistance(const dictionary &initialPointsDict, const searchableSurface &surface, const scalar &defaultCellSize, const labelList regionIndices)
Construct from components.
const wordList surface
Standard surface field types (scalar, vector, tensor, etc)
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
TypeName("surfaceOffsetLinearDistance")
Runtime type information.
virtual bool cellSize(const point &pt, scalar &size) const
Modify scalar argument to the cell size specified by function.