SimulatorSerializer.hpp
Go to the documentation of this file.
Class handling simulator serialization. Definition: SimulatorSerializer.hpp:55 void loadTimerInfo(SimulatorTimer &timer) Loads time step info from file. bool shouldLoad() const Returns whether or not a state should be loaded. Definition: SimulatorSerializer.hpp:71 int loadStep() const Returns step to load. Definition: SimulatorSerializer.hpp:74 SimulatorSerializer(SerializableSim &simulator, Parallel::Communication &comm, const IOConfig &ioconfig, const std::string &saveSpec, int loadStep, const std::string &saveFile, const std::string &loadFile) Constructor inits parameters. Definition: SimulatorTimer.hpp:39 Dune::Communication< MPIComm > Communication Definition: ParallelCommunication.hpp:30 Definition: blackoilboundaryratevector.hh:37 Abstract interface for simulator serialization ops. Definition: SimulatorSerializer.hpp:36 virtual void loadState(HDF5Serializer &serializer, const std::string &groupName)=0 Load simulator state from file. virtual const std::vector< int > & getCellMapping() const =0 Obtain local-to-global cell mapping. virtual std::array< std::string, 5 > getHeader() const =0 Get header info to save to file. virtual void saveState(HDF5Serializer &serializer, const std::string &groupName) const =0 Save simulator state to file. virtual ~SerializableSim()=default |