39#include <boost/core/ignore_unused.hpp>
68 if (
m_f->m_exp[0]->GetNumElmts() == 0)
74 for (
int j = 0; j <
m_f->m_exp.size(); ++j)
79 if (
m_f->m_comm->GetSpaceComm()->TreatAsRankZero())
81 cout <<
"L 2 error (variable " <<
m_f->m_variables[j]
82 <<
") : " << L2 << endl;
83 cout <<
"L inf error (variable " <<
m_f->m_variables[j]
84 <<
") : " << LInf << endl;
FieldSharedPtr m_f
Field object.
Abstract base class for processing modules.
ProcessPrintFldNorms(FieldSharedPtr f)
static ModuleKey className
virtual void v_Process(po::variables_map &vm) override
static std::shared_ptr< Module > create(FieldSharedPtr f)
Creates an instance of this class.
virtual ~ProcessPrintFldNorms()
tKey RegisterCreatorFunction(tKey idKey, CreatorFunction classCreator, std::string pDesc="")
Register a class with the factory.
std::shared_ptr< Field > FieldSharedPtr
std::pair< ModuleType, std::string > ModuleKey
ModuleFactory & GetModuleFactory()
The above copyright notice and this permission notice shall be included.