Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
G
getm
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Knut Klingbeil
getm
Commits
884a9a4d
Commit
884a9a4d
authored
Oct 14, 2015
by
Knut
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
gvc: provide hvel after restart
parent
59bb5d52
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/3d/variables_3d.F90
src/3d/variables_3d.F90
+1
-1
src/getm/initialise.F90
src/getm/initialise.F90
+8
-1
No files found.
src/3d/variables_3d.F90
View file @
884a9a4d
...
...
@@ -194,7 +194,7 @@
#include "dynamic_allocations_3d.h"
#endif
hn
=
_
ZERO_
;
hvel
=
_
ZERO_
;
hun
=
_
ZERO_
;
hvn
=
_
ZERO_
h
o
=
_
ZERO_
;
h
n
=
_
ZERO_
;
hvel
=
_
ZERO_
;
hun
=
_
ZERO_
;
hvn
=
_
ZERO_
uu
=
_
ZERO_
;
vv
=
_
ZERO_
;
ww
=
_
ZERO_
#ifdef _MOMENTUM_TERMS_
tdv_u
=
_
ZERO_
;
adv_u
=
_
ZERO_
;
vsd_u
=
_
ZERO_
;
hsd_u
=
_
ZERO_
...
...
src/getm/initialise.F90
View file @
884a9a4d
...
...
@@ -56,7 +56,8 @@
use
turbulence
,
only
:
init_turbulence
use
mtridiagonal
,
only
:
init_tridiagonal
use
rivers
,
only
:
init_rivers
use
variables_3d
,
only
:
avmback
,
avhback
use
variables_3d
,
only
:
ho
,
hn
,
hvel
,
avmback
,
avhback
use
vertical_coordinates
,
only
:
restart_with_ho
,
restart_with_hn
#ifdef SPM
use
suspended_matter
,
only
:
init_spm
#endif
...
...
@@ -271,6 +272,12 @@
#ifndef NO_3D
if
(
runtype
.ge.
2
)
then
if
(
restart_with_ho
.and.
restart_with_hn
)
then
hvel
=
_
HALF_
*
(
ho
+
hn
)
else
! throw a warning here, if ho or hn are needed before they
! are calculated in postinit_3d()
end
if
Uint
=
_
ZERO_
Vint
=
_
ZERO_
end
if
...
...
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