37 #ifndef linearDistance_H 38 #define linearDistance_H 61 scalar distanceCellSize_;
73 scalar sizeFunction(
const point& pt, scalar d, label index)
const;
88 const scalar& defaultCellSize,
virtual bool setCellSize(const pointField &pts)
Adapt local cell size. Return true if anything changed.
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 bool cellSize(const point &pt, scalar &size) const
Modify scalar argument to the cell size specified by function.
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...
virtual bool sizeLocations(const pointIndexHit &hitPt, const vector &n, pointField &shapePts, scalarField &shapeSizes) const
virtual ~linearDistance()=default
Destructor.
TypeName("linearDistance")
Runtime type information.
linearDistance(const dictionary &initialPointsDict, const searchableSurface &surface, const scalar &defaultCellSize, const labelList regionIndices)
Construct from components.