64 if (
m_f->m_exp[0]->GetNumElmts() == 0)
70 for (
int j = 0; j <
m_f->m_exp.size(); ++j)
75 if (
m_f->m_comm->GetSpaceComm()->TreatAsRankZero())
77 cout <<
"L 2 error (variable " <<
m_f->m_variables[j]
78 <<
") : " << L2 << endl;
79 cout <<
"L inf error (variable " <<
m_f->m_variables[j]
80 <<
") : " << LInf << endl;
FieldSharedPtr m_f
Field object.
Abstract base class for processing modules.
ProcessPrintFldNorms(FieldSharedPtr f)
static ModuleKey className
~ProcessPrintFldNorms() override
void v_Process(po::variables_map &vm) override
static std::shared_ptr< Module > create(FieldSharedPtr f)
Creates an instance of this class.
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()