35#ifndef FIELDUTILS_PROCESSVELOCITYDIVERGENCE
36#define FIELDUTILS_PROCESSVELOCITYDIVERGENCE
61 void v_Process(po::variables_map &vm)
override;
65 return "ProcessVelocityDivergence";
70 return "Calculating velocity divergence";
Abstract base class for processing modules.
This processing module calculates the divergence of the velocity field and adds it as an extra-field ...
void GetVelocity(Array< OneD, Array< OneD, NekDouble > > &vel, int strip=0)
std::string v_GetModuleName() override
std::string v_GetModuleDescription() override
void v_Process(po::variables_map &vm) override
Write mesh to output file.
~ProcessVelocityDivergence() override
ModulePriority v_GetModulePriority() override
static ModuleKey className
static std::shared_ptr< Module > create(FieldSharedPtr f)
Creates an instance of this class.
ProcessVelocityDivergence(FieldSharedPtr f)
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