94 #ifndef functionObjects_surfaceDistance_H 95 #define functionObjects_surfaceDistance_H 107 class objectRegistry;
111 namespace functionObjects
118 class surfaceDistance
120 public fvMeshFunctionObject
130 autoPtr<searchableSurfaces>
geomPtr_;
147 const dictionary&
dict
virtual bool read(const dictionary &)
Read the controls.
Switch doCells_
Switch to calculate distance-to-cells.
virtual bool write()
Write the interpolated fields.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
const word & name() const noexcept
Return the name of this functionObject.
surfaceDistance(const word &name, const Time &runTime, const dictionary &dict)
Construct for given objectRegistry and dictionary.
TypeName("surfaceDistance")
Runtime type information.
virtual bool execute()
Calculate the interpolated fields.
virtual ~surfaceDistance()=default
Destructor.
void operator=(const surfaceDistance &)=delete
No copy assignment.
autoPtr< searchableSurfaces > geomPtr_
Geometry.