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";
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.
std::shared_ptr< Field > FieldSharedPtr
virtual ~ProcessVorticity()
void GetVelocity(Array< OneD, Array< OneD, NekDouble > > &vel, int strip=0)
std::pair< ModuleType, std::string > ModuleKey
static std::shared_ptr< DataType > AllocateSharedPtr(const Args &...args)
Allocate a shared pointer from the memory pool.
virtual std::string GetModuleDescription()
virtual ModulePriority GetModulePriority()
virtual std::string GetModuleName()
Abstract base class for processing modules.
This processing module calculates the vorticity and adds it as an extra-field to the output file...
static ModuleKey className
ProcessVorticity(FieldSharedPtr f)