106#ifndef functionObjects_ddt2_H
107#define functionObjects_ddt2_H
120namespace functionObjects
129 public fvMeshFunctionObject
134 wordRes selectFields_;
140 mutable regExp denyField_;
154 static bool checkFormatName(
const std::string& str);
158 bool accept(
const word& fieldName)
const;
161 template<
class FieldType>
162 int apply(
const word& inputName,
int& state);
165 int process(
const word& inputName);
192 virtual ~ddt2() =
default;
204 virtual bool write();
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.
Computes the magnitude or magnitude squared of the Eulerian time derivative of an input volume field ...
TypeName("ddt2")
Runtime type information.
virtual ~ddt2()=default
Destructor.
ddt2(const word &name, const Time &runTime, const dictionary &dict)
Construct from Time and dictionary.
ddt2(const ddt2 &)=delete
No copy construct.
void operator=(const ddt2 &)=delete
No copy assignment.
virtual bool execute()
Calculate the ddt2 fields.
virtual bool write()
Write the ddt2 fields.
virtual bool read(const dictionary &)
Read the ddt2 specification.
Specialization of Foam::functionObject for an Foam::fvMesh, providing a reference to the Foam::fvMesh...
Wrapper around C++11 regular expressions with some additional prefix-handling. The prefix-handling is...
A List of wordRe with additional matching capabilities.
A class for handling words, derived from Foam::string.
HashSet< word, Hash< word > > wordHashSet
A HashSet of words, uses string hasher.
regExpCxx regExp
Selection of preferred regular expression implementation.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.