62 #ifndef Foam_boundaryDataSurfaceReader_H 63 #define Foam_boundaryDataSurfaceReader_H 79 class boundaryDataSurfaceReader
114 const label fieldIndex
130 const word& pointsName =
"points" 138 const word& pointsName =
"points" 153 const word& pointsName =
"points" 160 const word& pointsName =
"points" 170 const word& fieldName,
180 const word& fieldName,
200 const label fieldIndex,
208 const label fieldIndex,
216 const label fieldIndex,
224 const label fieldIndex,
232 const label fieldIndex,
A class for handling file names.
static pointField readPoints(const Time &runTime, const fileName &baseDir, const word &pointsName="points")
Read points file.
A list of keyword definitions, which are a keyword followed by a number of values (eg...
virtual const meshedSurface & geometry(const label timeIndex)
Return a reference to the surface geometry.
A traits class, which is primarily used for primitives and vector-space.
TypeName("boundaryData")
Runtime type information.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
static tmp< Field< Type > > readField(const Time &runTime, const fileName &baseDir, const instant &timeDir, const word &fieldName, Type &avg)
Read and return given field.
A class for handling words, derived from Foam::string.
virtual instantList times() const
Return a list of the available times.
A Vector of values with scalar precision, where scalar is float/double depending on the compilation f...
virtual wordList fieldNames(const label timeIndex) const
Return a list of the available fields at a given time.
An instant of time. Contains the time value and name. Uses Foam::Time when formatting the name...
virtual ~boundaryDataSurfaceReader()=default
Destructor.
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
Tensor of scalars, i.e. Tensor<scalar>.
boundaryDataSurfaceReader(const fileName &fName, const word &pointsName="points")
Construct from fileName.
virtual tmp< Field< scalar > > field(const label timeIndex, const label fieldIndex, const scalar &refValue=pTraits< scalar >::zero) const
Return a scalar field at a given time.