91#ifndef Foam_functionObjects_interfaceHeight_H
92#define Foam_functionObjects_interfaceHeight_H
123 word interpolationScheme_;
129 List<point> locations_;
135 void writePositions();
204 virtual bool write();
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
Output to file stream as an OSstream, normally using std::ofstream for the actual output.
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
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.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
This function object reports the height of the interface above a set of locations.
interfaceHeight(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
PtrList< OFstream > & files()
Inherit logFiles methods.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
TypeName("interfaceHeight")
Runtime type information.
virtual void writeFileHeader(const fileID fid)
Output file header information.
virtual bool execute()
Execute the function-object operations.
OFstream & files(const fileID fid)
Return file corresponding to enumeration.
void operator=(const interfaceHeight &)=delete
No copy assignment.
virtual ~interfaceHeight()=default
Destructor.
interfaceHeight(const interfaceHeight &)=delete
No copy construct.
virtual bool write()
Write the function-object results.
virtual bool end()
Execute at the final time-loop.
functionObject base class for creating, maintaining and writing log files e.g. integrated or averaged...
PtrList< OFstream > & files()
Return access to the files.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
word name(const expressions::valueTypeCode typeCode)
A word representation of a valueTypeCode. Empty for expressions::valueTypeCode::INVALID.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.