Go to the documentation of this file.
255 #ifndef functionObjects_STDMD_H
256 #define functionObjects_STDMD_H
267 namespace functionObjects
276 public fvMeshFunctionObject,
280 typedef SquareMatrix<scalar> SMatrix;
281 typedef SquareMatrix<complex> SCMatrix;
282 typedef RectangularMatrix<scalar> RMatrix;
283 typedef RectangularMatrix<complex> RCMatrix;
297 static const Enum<modeSorterType> modeSorterTypeNames;
303 const enum modeSorterType modeSorter_;
306 const word fieldName_;
324 const label maxRank_;
327 const label nGramSchmidt_;
438 template<
class GeoFieldType>
443 bool getSnapshotType();
446 template<
class GeoFieldType>
450 scalar parnorm(
const RMatrix& colVector)
const;
475 void compressBasis();
489 template<
class MatrixType>
508 const scalar absTol = 0,
509 const scalar relTol = 1
e-8
522 void testEigenvectors
531 void testEigenvectors
571 const scalar modeNorm
575 virtual void writeFileHeader(
Ostream& os)
const;
581 void writeOutput(
OFstream& os)
const;
614 virtual ~STDMD() =
default;
626 virtual bool write();
Class to control time during OpenFOAM simulations that is also the top-level objectRegistry.
A class for handling words, derived from Foam::string.
static const Foam::dimensionedScalar A("", Foam::dimPressure, 611.21)
virtual bool read(const dictionary &)
Read STDMD settings.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
TypeName("STDMD")
Runtime type information.
A list of keyword definitions, which are a keyword followed by a number of values (eg,...
virtual ~STDMD()=default
Destructor.
A complex number, similar to the C++ complex type.
void operator=(const STDMD &)=delete
No copy assignment.
Output to file stream, using an OSstream.
STDMD()=delete
No default construct.
const word & name() const
Return the name of this functionObject.
(Beta Release) STDMD (i.e. Streaming Total Dynamic Mode Decomposition) is a variant of a data-driven ...
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const dimensionedScalar e
Elementary charge.
Base class for writing single files from the function objects.
An Ostream is an abstract base class for all output systems (streams, files, token lists,...
virtual bool execute()
Execute STDMD.
virtual bool write()
Write STDMD output.