35 #ifndef FIELDUTILS_PROCESSVORTICITY
36 #define FIELDUTILS_PROCESSVORTICITY
38 #include "../Module.h"
62 virtual void Process(po::variables_map &vm);
66 return "ProcessVorticity";
71 return "Calculating vorticity";
Abstract base class for processing modules.
This processing module calculates the vorticity and adds it as an extra-field to the output file.
ProcessVorticity(FieldSharedPtr f)
void GetVelocity(Array< OneD, Array< OneD, NekDouble > > &vel, int strip=0)
virtual std::string GetModuleName()
static ModuleKey className
virtual ModulePriority GetModulePriority()
virtual ~ProcessVorticity()
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.
virtual std::string GetModuleDescription()
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.