|
k-dot-p 0.1
|
00001 /* 00002 Copyright (C) 2009 Joseph Pingenot 00003 00004 This program is free software: you can redistribute it and/or modify 00005 it under the terms of the GNU Affero General Public License as published by 00006 the Free Software Foundation, either version 3 of the License, or 00007 (at your option) any later version. 00008 00009 This program is distributed in the hope that it will be useful, 00010 but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 GNU Affero General Public License for more details. 00013 00014 You should have received a copy of the GNU Affero General Public License 00015 along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 00017 */ 00018 00019 #ifndef SAVE_RESTORE_STRUCTURE_HXX__ 00020 #define SAVE_RESTORE_STRUCTURE_HXX__ 00021 00022 #include <glib.h> 00023 #include <hdf5.h> 00024 #include <libmodelxx/generic_structure.h++> 00025 00026 namespace kdotp { 00027 namespace libmodelxx { 00028 namespace io_routines { 00029 00030 00031 00032 /* 00033 *Saves a finalized grid into the specified filename. 00034 *\param name Name under which to save the file. 00035 *\param discrete_structure 00036 */ 00037 GError* save_structure(char* filename, struct generic_structure* structure); 00038 00039 00040 00041 00042 00043 00044 } 00045 } 00046 } 00047 00048 #endif