Go to the documentation of this file.
34 #ifndef linearSpatial_H
35 #define linearSpatial_H
89 const scalar& defaultCellSize,
point referencePoint_
Reference point for spatial size grading.
virtual bool sizeLocations(const pointIndexHit &hitPt, const vector &n, pointField &shapePts, scalarField &shapeSizes) const
Abstract base class for specifying target cell sizes.
vector direction_
Direction of cell size grading, stored as unit vector, may be.
scalar cellSizeGradient_
Gradient of cell size change in direction of direction_.
This class describes the interaction of (usually) a face and a point. It carries the info of a succes...
Pre-declare SubField and related Field type.
linearSpatial(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.
Base class of (analytical or triangulated) surface. Encapsulates all the search routines....
scalar referenceCellSize_
Cell size at reference point.
A list of keyword definitions, which are a keyword followed by any number of values (e....
scalar sizeFunction(const point &pt) const
Calculate the cell size as a function of the given position.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
TypeName("linearSpatial")
Runtime type information.
virtual ~linearSpatial()
Destructor.