PISM, A Parallel Ice Sheet Model  stable v2.1-1-g6902d5502 committed by Ed Bueler on 2023-12-20 08:38:27 -0800
exactTestsIJ.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2004-2006, 2015 Jed Brown, Ed Bueler, and Constantine Khroulev
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 __exactTestIJ_h
22 #define __exactTestIJ_h 1
23 
24 #ifdef __cplusplus
25 extern "C"
26 {
27 #endif
28 
29 /*
30 12/8/06; 8/24/07
31 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
32 !
33 ! exactTestIJ contains C implementations of:
34 ! 1. an exact solution for an ice stream sliding over plastic till described
35 ! on pages 237 and 238 of C. Schoof 2006 "A variational approach to ice
36 ! streams" J Fluid Mech 556 pp 227--251
37 ! 2. an exact solution for a linearized ice shelf with periodic boundary
38 ! conditions [CREATED BY ELB; ONLY REFERENCE IS EARLY PREPRINT]
39 !
40 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
41 */
42 
44  double bed, tauc, u, v;
45 };
46 
47 struct TestIParameters exactI(const double m, const double x, const double y);
48 
50  double H, nu, u, v;
51 };
52 
53 struct TestJParameters exactJ(const double x, const double y);
54 
55 #ifdef __cplusplus
56 }
57 #endif
58 
59 
60 #endif /* __exactTestIJ_h */
struct TestJParameters exactJ(const double x, const double y)
Definition: exactTestsIJ.c:80
struct TestIParameters exactI(const double m, const double x, const double y)
Definition: exactTestsIJ.c:29