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
2f4d5043
Commit
2f4d5043
authored
May 11, 2016
by
Knut
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'output' of
git://git.code.sf.net/p/getm/code
into fwf_int
parents
9389753a
8086f337
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
src/3d/adaptive_coordinates.F90
src/3d/adaptive_coordinates.F90
+2
-0
src/3d/m3d.F90
src/3d/m3d.F90
+2
-2
src/cmake/Modules/FindNetCDF.cmake
src/cmake/Modules/FindNetCDF.cmake
+1
-1
src/getm/register_all_variables.F90
src/getm/register_all_variables.F90
+1
-1
No files found.
src/3d/adaptive_coordinates.F90
View file @
2f4d5043
...
...
@@ -175,8 +175,10 @@ STDERR 'adaptive_coordinates()'
if
(
rc
/
=
0
)
stop
'coordinates: Error allocating memory (zposo)'
allocate
(
work2
(
I3DFIELD
),
stat
=
rc
)
!
if
(
rc
/
=
0
)
stop
'coordinates: Error allocating memory (work2)'
work2
=
_
ZERO_
allocate
(
work3
(
I3DFIELD
),
stat
=
rc
)
!
if
(
rc
/
=
0
)
stop
'coordinates: Error allocating memory (work3)'
work3
=
_
ZERO_
allocate
(
be
(
0
:
kmax
),
stat
=
rc
)
! working space
if
(
rc
/
=
0
)
STOP
'coordinates: Error allocating (be)'
allocate
(
NNloc
(
0
:
kmax
),
stat
=
rc
)
! working space
...
...
src/3d/m3d.F90
View file @
2f4d5043
...
...
@@ -216,9 +216,9 @@
if
(
bdy3d_tmrlx_min
<
_
ZERO_
.or.
bdy3d_tmrlx_min
>
_
ONE_
)
&
call
getm_error
(
"init_3d()"
,
&
"bdy3d_tmrlx_min is out of valid range [0:1]"
)
if
(
bdy3d_tmrlx_max
<
bdy3d_tmrlx_min
.or.
bdy3d_tmrlx_m
in
>
_
ONE_
)
&
if
(
bdy3d_tmrlx_max
<
bdy3d_tmrlx_min
.or.
bdy3d_tmrlx_m
ax
>
_
ONE_
)
&
call
getm_error
(
"init_3d()"
,
&
"bdy3d_tmrlx_max is out of valid range [bdy3d_tmrlx_m
ax
:1]"
)
"bdy3d_tmrlx_max is out of valid range [bdy3d_tmrlx_m
in
:1]"
)
if
(
bdy3d_tmrlx_ucut
<
_
ZERO_
)
&
call
getm_error
(
"init_3d()"
,
&
"bdy3d_tmrlx_max is out of valid range [0:inf["
)
...
...
src/cmake/Modules/FindNetCDF.cmake
View file @
2f4d5043
...
...
@@ -49,7 +49,7 @@ else()
set
(
flibs
"-lnetcdf"
)
endif
()
if
(
DEFINED ENV{NETCDFLIBDIR}
)
set
(
flibs
"
${
flibs
}
-L$ENV{NETCDFLIBDIR}"
)
set
(
flibs
"-L$ENV{NETCDFLIBDIR}
${
flibs
}
"
)
endif
()
set
(
NetCDF_LIBRARIES
${
flibs
}
CACHE STRING
"NetCDF linking flags"
)
find_path
(
NetCDF_INCLUDE_DIRS netcdf.mod
...
...
src/getm/register_all_variables.F90
View file @
2f4d5043
...
...
@@ -156,7 +156,7 @@
call
fm
%
register_dimension
(
trim
(
yname
),
jmax
-
jmin
+1
,
global_length
=
jextr
,
offset
=
joff
,
id
=
id_dim_lat
)
#ifndef NO_3D
if
(
runtype
.ge.
2
)
then
call
fm
%
register_dimension
(
trim
(
zname
),
kmax
+1
,
id
=
id_dim_z
)
call
fm
%
register_dimension
(
trim
(
zname
),
kmax
+1
,
global_length
=
kmax
,
offset
=
-1
,
id
=
id_dim_z
)
end
if
#endif
...
...
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