|
PISM, A Parallel Ice Sheet Model stable 0.4.1779
|
00001 /* 00002 Copyright (C) 2004-2006 Jed Brown and Ed Bueler 00003 00004 This file is part of PISM. 00005 00006 PISM is free software; you can redistribute it and/or modify it under the 00007 terms of the GNU General Public License as published by the Free Software 00008 Foundation; either version 2 of the License, or (at your option) any later 00009 version. 00010 00011 PISM is distributed in the hope that it will be useful, but WITHOUT ANY 00012 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS 00013 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more 00014 details. 00015 00016 You should have received a copy of the GNU General Public License 00017 along with PISM; if not, write to the Free Software 00018 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 00019 */ 00020 00021 #ifndef __exactTestsFG_h 00022 #define __exactTestsFG_h 1 00023 00024 #ifdef __cplusplus 00025 extern "C" 00026 { 00027 #endif 00028 00029 #include <math.h> 00030 00031 /* 00032 ELB 9/12/05; 05/12/06; 10/14/06; 5/30/08 00033 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 00034 ! exactTestsFG is a C implementation of the exact solutions Test F & G for a 00035 ! thermocoupled ice sheet. References: 00036 ! 00037 ! Ed Bueler, Jed Brown, and Craig Lingle, "Exact solutions to the 00038 ! thermomechanically coupled shallow ice approximation: effective 00039 ! tools for verification," J. Glaciol. 53 (182), 499--516. 00040 ! 00041 ! Ed Bueler and Jed Brown, "On exact solutions for cold, shallow, and 00042 ! thermocoupled ice sheets," preprint arXiv:physics/0610106, 2006 00043 ! 00044 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 00045 */ 00046 00047 int bothexact(double t, double r, double *z, int Mz, double Cp, 00048 double *H, double *M, double *TT, double *U, double *w, 00049 double *Sig, double *Sigc); 00050 00051 /* 00052 * NOTE: Units returned for Sig and Sigc are K/s (i.e. temperature) not J/s. 00053 * This matches the published sources above but requires conversion in 00054 * PISM as of revision 311. 00055 */ 00056 00057 #ifdef __cplusplus 00058 } 00059 #endif 00060 00061 #endif
1.7.3