113#ifndef Foam_functionObjects_Curle_H
114#define Foam_functionObjects_Curle_H
148 static const Enum<modeType> modeTypeNames_;
160 List<point> observerPositions_;
166 PtrList<OFstream> rawFilePtrs_;
169 MeshedSurface<face> inputSurface_;
172 autoPtr<surfaceWriter> surfaceWriterPtr_;
199 virtual ~Curle() =
default;
211 virtual bool write();
Enum is a wrapper around a list of names/values that represent particular enumeration (or int) values...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A surface geometry mesh with zone information, not to be confused with the similarly named surfaceMes...
A list of pointers to objects of type <T>, with allocation/deallocation management of the pointers....
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
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.
Computes the acoustic pressure based on Curle's analogy.
void operator=(const Curle &)=delete
No copy assignment.
virtual bool read(const dictionary &dict)
Read the function-object dictionary.
TypeName("Curle")
Runtime type information.
Curle(const word &name, const Time &runTime, const dictionary &dict)
Construct from name, Time and dictionary.
virtual ~Curle()=default
Destructor.
Curle(const Curle &)=delete
No copy construct.
virtual bool execute()
Execute the function-object operations.
virtual bool write()
Write the function-object results.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
fvMeshFunctionObject(const fvMeshFunctionObject &)=delete
No copy construct.
Base class for writing single files from the function objects.
writeFile(const objectRegistry &obr, const fileName &prefix, const word &name="undefined", const bool writeToFile=true, const string &ext=".dat")
Construct from objectRegistry, prefix, fileName.
A class for handling words, derived from Foam::string.
Function objects are OpenFOAM utilities to ease workflow configurations and enhance workflows.
List< label > labelList
A List of labels.
vector point
Point is a vector.
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.