Ice Sheet System Model
4.18
Code documentation
Main Page
Data Structures
Data Structures
Data Structure Index
Class Hierarchy
Data Fields
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
~
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
z
~
Variables
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
y
z
Typedefs
Related Functions
Files
File List
Globals
All
_
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
q
r
s
t
u
v
w
x
Functions
a
b
c
d
e
f
g
h
i
j
k
l
m
n
o
p
r
s
t
u
v
w
x
Variables
Typedefs
Enumerations
Enumerator
a
b
c
d
e
f
g
h
i
j
l
m
n
o
p
q
r
s
t
u
v
w
x
Macros
_
a
b
c
d
e
f
g
h
i
k
m
n
o
p
r
s
t
u
v
•
All
Data Structures
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
src
c
shared
Elements
CuffeyTemperate.cpp
Go to the documentation of this file.
1
/* \file CuffeyTemperate.cpp
2
* \brief figure out B of ice for a certain temperature and waterfraction
3
* INPUT function B=Cuffey(temperature, waterfraction)
4
* where rigidity (in s^(1/3)Pa) is the flow law parameter in the flow law sigma=B*e(1/3) (Cuffey, p75).
5
*/
6
7
#include <math.h>
8
#include "
./elements.h
"
9
#include "../Numerics/numerics.h"
10
11
IssmDouble
CuffeyTemperate
(
IssmDouble
temperature,
IssmDouble
waterfraction,
IssmDouble
stressexp){
12
13
return
Cuffey
(temperature)*pow(1+181.25*
max
(0.,
min
(0.01, waterfraction)), -1./stressexp);
14
15
}
Cuffey
IssmDouble Cuffey(IssmDouble temperature)
Definition:
Cuffey.cpp:11
IssmDouble
double IssmDouble
Definition:
types.h:37
elements.h
prototypes for elements.h
min
IssmDouble min(IssmDouble a, IssmDouble b)
Definition:
extrema.cpp:14
max
IssmDouble max(IssmDouble a, IssmDouble b)
Definition:
extrema.cpp:24
CuffeyTemperate
IssmDouble CuffeyTemperate(IssmDouble temperature, IssmDouble waterfraction, IssmDouble stressexp)
Definition:
CuffeyTemperate.cpp:11
Generated on Thu Jul 2 2020 08:09:19 for Ice Sheet System Model by
1.8.19