35 #ifndef FIELDUTILS_PROCESSCFL
36 #define FIELDUTILS_PROCESSCFL
38 #include "../Module.h"
62 virtual void Process(po::variables_map &vm);
71 return "Calculating CFL number over the domain for the Incompressible "
This processing module calculates the CFL and adds it as an extra-field to the output file.
virtual std::string GetModuleDescription()
Array< OneD, NekDouble > GetMaxStdVelocity(const Array< OneD, Array< OneD, NekDouble >> &vel, int strip=0)
static ModuleKey className
virtual std::string GetModuleName()
virtual void Process(po::variables_map &vm)
Write mesh to output file.
static std::shared_ptr< Module > create(FieldSharedPtr f)
Creates an instance of this class.
void GetVelocity(Array< OneD, Array< OneD, NekDouble >> &vel, int strip=0)
virtual ModulePriority GetModulePriority()
ProcessCFL(FieldSharedPtr f)
Abstract base class for processing modules.
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
std::shared_ptr< Field > FieldSharedPtr
std::pair< ModuleType, std::string > ModuleKey
The above copyright notice and this permission notice shall be included.