35#ifndef FIELDUTILS_PROCESSGRAD
36#define FIELDUTILS_PROCESSGRAD
62 void v_Process(po::variables_map &vm)
override;
71 return "Calculating gradients";
80 void ParserOptions(std::set<int> &variables, std::set<int> &directions);
This processing module calculates the gradient and adds it as an extra-field to the output file.
std::string v_GetModuleName() override
std::string v_GetModuleDescription() override
void ProcessMappingFld(Array< OneD, Array< OneD, NekDouble > > &grad)
static ModuleKey className
ProcessGrad(FieldSharedPtr f)
std::set< int > m_selectedVars
static std::shared_ptr< Module > create(FieldSharedPtr f)
Creates an instance of this class.
std::set< int > m_directions
ModulePriority v_GetModulePriority() override
void ParserOptions(std::set< int > &variables, std::set< int > &directions)
void ProcessCartesianFld(Array< OneD, Array< OneD, NekDouble > > &grad)
void v_Process(po::variables_map &vm) override
Write mesh to output file.
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