|
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 #include <stdio.h> 00020 #include <libmodelxx/cartesian_grid.h++> 00021 #include <libmodelxx/function_specification.h++> 00022 00023 00024 namespace kdotp { 00025 namespace libmodelxx { 00026 namespace grid { 00027 00028 using namespace postprocessing; 00029 00030 char* long_unsigned_to_string(long unsigned* val) { 00031 GString *s = g_string_new_len("", 1024); 00032 g_string_printf(s, "%lu", *val); 00033 char* str = s->str; 00034 g_string_free(s, FALSE); 00035 return str; 00036 } 00037 00038 00039 } 00040 } 00041 }