46 "Computes number of DOF.");
60 int nDOF =
m_f->m_exp[0]->GetNcoeffs();
63 if (
m_f->m_comm->GetSpaceComm()->GetRank() == 0)
65 cout <<
"Total number of DOF: " << nDOF << endl;
FieldSharedPtr m_f
Field object.
static ModuleKey className
static std::shared_ptr< Module > create(FieldSharedPtr f)
Creates an instance of this class.
ProcessDOF(FieldSharedPtr f)
void v_Process(po::variables_map &vm) override
Write mesh to output file.
Abstract base class for processing modules.
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()