150#ifndef functionObjects_DMD_H
151#define functionObjects_DMD_H
164namespace functionObjects
173 public fvMeshFunctionObject
175 typedef RectangularMatrix<scalar> RMatrix;
180 autoPtr<DMDModel> DMDModelPtr_;
191 const wordRes patches_;
194 const word fieldName_;
225 template<
class GeoFieldType>
226 bool storeSnapshot();
232 label nComponents(
const word& fieldName)
const;
236 bool nComponents(
const word& fieldName, label& nComps)
const;
252 const dictionary&
dict
263 virtual ~DMD() =
default;
275 virtual bool write();
A templated (M x N) rectangular matrix of objects of <Type>, containing M*N elements,...
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 a dynamic mode decomposition model on a specified field.
TypeName("DMD")
Runtime type information.
virtual bool read(const dictionary &dict)
Read DMD settings.
virtual ~DMD()=default
Destructor.
DMD(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
DMD(const DMD &)=delete
No copy construct.
void operator=(const DMD &)=delete
No copy assignment.
virtual bool execute()
Execute DMD.
virtual bool write()
Write DMD results.
virtual bool end()
Write DMD results.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.