/* Copyright (C) Bernard Piette University of Durham (UK) Department of Mathematical Sciences This program 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 2 of the License, or (at your option) any later version. You can modify or use any part of the source code but only under the condition that this Copyright notice is kept in the resulting source file. */ #ifndef GRF_PDE_H #define GRF_PDE_H #include class pde; class grf_pde { public: grf_pde(pde *pde,std::string file_name); virtual ~grf_pde() {}; virtual void write_1_grf(int index,double *p,double t); std::string make_file_name(std::string name,int index,std::string suffix); protected: int nx_; double xmin_; double xmax_; double dx_; std::string file_name_; }; #endif