Go to the documentation of this file.
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
170 virtual bool write();
A simple wrapper around bool so that it can be read as a word: true/false, on/off,...
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
virtual ~surfaceDistance()=default
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
surfaceDistance(const word &name, const Time &runTime, const dictionary &dict)
Computes the distance to the nearest surface from a given geometry.
TypeName("surfaceDistance")
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
const word & name() const noexcept
autoPtr< searchableSurfaces > geomPtr_
virtual bool read(const dictionary &)
void operator=(const surfaceDistance &)=delete