35 #ifndef FIELDUTILS_PROCESSVELOCITYDIVERGENCE
36 #define FIELDUTILS_PROCESSVELOCITYDIVERGENCE
38 #include "../Module.h"
63 virtual void v_Process(po::variables_map &vm)
override;
67 return "ProcessVelocityDivergence";
72 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)
virtual ModulePriority v_GetModulePriority() override
static std::shared_ptr< Module > create(FieldSharedPtr f)
Creates an instance of this class.
virtual std::string v_GetModuleName() override
virtual void v_Process(po::variables_map &vm) override
Write mesh to output file.
virtual ~ProcessVelocityDivergence()
static ModuleKey className
virtual std::string v_GetModuleDescription() override
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
The above copyright notice and this permission notice shall be included.