Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
Knut Klingbeil
getm
Commits
09560fdf
Commit
09560fdf
authored
Nov 08, 2017
by
Knut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
log temp_file and salt_file
parent
327431ea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
src/3d/salinity.F90
src/3d/salinity.F90
+3
-1
src/3d/temperature.F90
src/3d/temperature.F90
+3
-1
No files found.
src/3d/salinity.F90
View file @
09560fdf
...
...
@@ -182,16 +182,18 @@
case
(
0
)
LEVEL3
'getting initial fields from hotstart'
case
(
1
)
LEVEL3
'setting to constant value
'
LEVEL3
'setting to constant value
'
,
real
(
salt_const
)
forall
(
i
=
imin
:
imax
,
j
=
jmin
:
jmax
,
az
(
i
,
j
)
.ne.
0
)
&
S
(
i
,
j
,:)
=
salt_const
case
(
2
)
LEVEL3
'using profile'
LEVEL4
trim
(
salt_file
)
call
read_profile
(
salt_file
,
nmax
,
zlev
,
prof
,
n
)
call
ver_interpol
(
n
,
zlev
,
prof
,
imin
,
jmin
,
imax
,
jmax
,
kmax
,
&
az
,
H
,
hn
,
S
)
case
(
3
)
LEVEL3
'interpolating from 3D field'
LEVEL4
trim
(
salt_file
)
call
get_3d_field
(
salt_file
,
salt_name
,
salt_field_no
,
.true.
,
S
)
case
default
FATAL
'Not valid salt_method specified'
...
...
src/3d/temperature.F90
View file @
09560fdf
...
...
@@ -259,16 +259,18 @@ end interface
case
(
0
)
LEVEL3
'getting initial fields from hotstart'
case
(
1
)
LEVEL3
'setting to constant value
'
LEVEL3
'setting to constant value
'
,
real
(
temp_const
)
forall
(
i
=
imin
:
imax
,
j
=
jmin
:
jmax
,
az
(
i
,
j
)
.ne.
0
)
&
T
(
i
,
j
,:)
=
temp_const
case
(
2
)
LEVEL3
'using profile'
LEVEL4
trim
(
temp_file
)
call
read_profile
(
temp_file
,
nmax
,
zlev
,
prof
,
n
)
call
ver_interpol
(
n
,
zlev
,
prof
,
imin
,
jmin
,
imax
,
jmax
,
kmax
,
&
az
,
H
,
hn
,
T
)
case
(
3
)
LEVEL3
'interpolating from 3D field'
LEVEL4
trim
(
temp_file
)
call
get_3d_field
(
temp_file
,
temp_name
,
temp_field_no
,
.true.
,
T
)
case
default
FATAL
'Not valid temp_method specified'
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment