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,
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
Abstract base class for specifying target cell sizes.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual bool sizeLocations(const pointIndexHit &hitPt, const vector &n, pointField &shapePts, scalarField &shapeSizes) const
virtual bool cellSize(const point &pt, scalar &size) const
Modify scalar argument to the cell size specified by function.
virtual ~linearDistance()=default
Destructor.
linearDistance(const dictionary &initialPointsDict, const searchableSurface &surface, const scalar &defaultCellSize, const labelList regionIndices)
Construct from components.
TypeName("linearDistance")
Runtime type information.
virtual bool setCellSize(const pointField &pts)
Adapt local cell size. Return true if anything changed.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.