#ifndef READER_INC #define READER_INC #include #include #include #include "IO/Mesh.h" #include "IO/MeshDatabase.h" #include "shared_ptr.h" namespace IO { //! List the timesteps in the given directors (dumps.LBPM) std::vector readTimesteps( const std::string& filename ); //! Read the list of variables for the given timestep std::vector getMeshList( const std::string& path, const std::string& timestep ); //! Read the given mesh domain std::shared_ptr getMesh( const std::string& path, const std::string& timestep, const MeshDatabase& meshDatabase, int domain ); //! Read the given mesh domain std::shared_ptr getVariable( const std::string& path, const std::string& timestep, const MeshDatabase& meshDatabase, int domain, const std::string& variable ); } // IO namespace #endif