PISM, A Parallel Ice Sheet Model
stable v2.1.1 committed by Constantine Khrulev on 2024-12-04 13:36:58 -0900
src
verification
tests
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
43
struct
TestIParameters
{
44
double
bed
,
tauc
,
u
,
v
;
45
};
46
47
struct
TestIParameters
exactI
(const double m, const double x, const double y);
48
49
struct
TestJParameters
{
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 */
exactJ
struct TestJParameters exactJ(const double x, const double y)
Definition:
exactTestsIJ.c:80
exactI
struct TestIParameters exactI(const double m, const double x, const double y)
Definition:
exactTestsIJ.c:29
TestIParameters::v
double v
Definition:
exactTestsIJ.h:44
TestIParameters::tauc
double tauc
Definition:
exactTestsIJ.h:44
TestIParameters::bed
double bed
Definition:
exactTestsIJ.h:44
TestIParameters::u
double u
Definition:
exactTestsIJ.h:44
TestIParameters
Definition:
exactTestsIJ.h:43
TestJParameters::nu
double nu
Definition:
exactTestsIJ.h:50
TestJParameters::u
double u
Definition:
exactTestsIJ.h:50
TestJParameters::v
double v
Definition:
exactTestsIJ.h:50
TestJParameters::H
double H
Definition:
exactTestsIJ.h:50
TestJParameters
Definition:
exactTestsIJ.h:49
Generated by
1.9.1