// Copyright (C) 2012, 2013, 2014 PISM Authors // // This file is part of PISM. // // PISM is free software; you can redistribute it and/or modify it under the // terms of the GNU General Public License as published by the Free Software // Foundation; either version 3 of the License, or (at your option) any later // version. // // PISM is distributed in the hope that it will be useful, but WITHOUT ANY // WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS // FOR A PARTICULAR PURPOSE. See the GNU General Public License for more // details. // // You should have received a copy of the GNU General Public License // along with PISM; if not, write to the Free Software // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA #ifndef _PISMNC4_Serial_H_ #define _PISMNC4_Serial_H_ #include "PISMNC4File.hh" class PISMNC4_Serial : public PISMNC4File { public: PISMNC4_Serial(MPI_Comm c, unsigned int compression_level) : PISMNC4File(c, compression_level) {} virtual ~PISMNC4_Serial() {} // open/create/close virtual int open(std::string filename, int mode); virtual int create(std::string filename); }; #endif /* _PISMNC4_Serial_H_ */