texactTestsABCD.h - pism - [fork] customized build of PISM, the parallel ice sheet model (tillflux branch)
HTML git clone git://src.adamsgaard.dk/pism
DIR Log
DIR Files
DIR Refs
DIR LICENSE
---
texactTestsABCD.h (1793B)
---
1 /*
2 Copyright (C) 2004-2006, 2016 Jed Brown and Ed Bueler
3
4 This file is part of PISM.
5
6 PISM is free software; you can redistribute it and/or modify it under the
7 terms of the GNU General Public License as published by the Free Software
8 Foundation; either version 3 of the License, or (at your option) any later
9 version.
10
11 PISM is distributed in the hope that it will be useful, but WITHOUT ANY
12 WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13 FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14 details.
15
16 You should have received a copy of the GNU General Public License
17 along with PISM; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
19 */
20
21 #ifndef __exactTestsABCD_h
22 #define __exactTestsABCD_h 1
23
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28
29 /*
30 ELB 5/12/06; 10/14/06; 10/24/06
31 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32 ! exactTestsABCD is a C implementation of the isothermal exact solutions
33 ! (Tests) A, B, C, D, and E from:
34 !
35 ! Ed Bueler, Craig S. Lingle, Jed A. Kallen-Brown, David N. Covey, and
36 ! Latrice N. Bowman (2005) "Exact solutions and numerical verification
37 ! for isothermal ice sheets," J. Glaciol. 51 (no. 173) 291--306.
38 !
39 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
40 */
41
42 struct TestABCDParameters {
43 int error_code;
44 double H, M;
45 };
46
47 struct TestABCDParameters exactA(const double r);
48
49 struct TestABCDParameters exactB(const double t, const double r);
50
51 struct TestABCDParameters exactC(const double t, const double r);
52
53 struct TestABCDParameters exactD(const double t, const double r);
54
55 #ifdef __cplusplus
56 }
57 #endif
58
59
60 #endif /* __exactTestsABCD_h */
61