12 #ifndef MFEM_FMSDATACOLLECTION
13 #define MFEM_FMSDATACOLLECTION
15 #include "../config/config.hpp"
virtual void Save()
Save the collection and a FMS blueprint root file.
Data collection that uses FMS.
Mesh * mesh
The (common) mesh for the collected fields.
int cycle
Time cycle; for time-dependent simulations cycle >= 0, otherwise = -1.
virtual void Load(int cycle=0)
Load the collection based blueprint data.
std::string RootFileName()
Returns file name for the current cycle.
void SetProtocol(const std::string &protocol)
Set the FMS relay i/o protocol to use.
FMSDataCollection(const std::string &collection_name, Mesh *mesh=NULL)
Constructor. The collection name is used when saving the data.
virtual ~FMSDataCollection()
We will delete the mesh and fields if we own them.