30 const std::string& file_name,
33 std::cout <<
"Creating file: " << file_name << std::endl;
39 const std::string& file_name,
40 const std::string& type,
43 std::cout <<
"Opening file: " << file_name << std::endl;
virtual bool create(const std::string &file_name, const MPI_Comm comm=MPI_COMM_NULL)
Creates a new database file with the supplied name.
Database()
Default constructor.
virtual ~Database()
Destructor.
virtual bool open(const std::string &file_name, const std::string &type, const MPI_Comm comm=MPI_COMM_NULL)
Opens an existing database file with the supplied name.