Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
O
ocean-mixing
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
inmcm-mirror
ocean-mixing
Commits
75113508
Commit
75113508
authored
6 months ago
by
Evgeny Mortikov
Browse files
Options
Downloads
Patches
Plain Diff
fixing initial conditions setup
parent
8628393e
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
obl_init.f90
+4
-0
4 additions, 0 deletions
obl_init.f90
obl_main.f90
+5
-0
5 additions, 0 deletions
obl_main.f90
with
9 additions
and
0 deletions
obl_init.f90
+
4
−
0
View file @
75113508
#include "obl_def.fi"
module
obl_init
!< @brief initial conditions module
! --------------------------------------------------------------------------------
...
...
@@ -120,6 +122,8 @@ module obl_init
subroutine
set_config_profile
(
F
,
tag
,
grid
,
ierr
)
!< @brief set constant profile
! ----------------------------------------------------------------------------
use
obl_common
,
only
:
char_array2str
type
(
gridDataType
),
intent
(
in
)
::
grid
real
,
dimension
(
grid
%
cz
),
intent
(
out
)
::
F
...
...
This diff is collapsed.
Click to expand it.
obl_main.f90
+
5
−
0
View file @
75113508
...
...
@@ -184,6 +184,7 @@ program obl_main
! ----------------------------------------------------------------------------
call
set_grid
(
grid
,
obl_setup
,
ierr
)
if
(
ierr
/
=
0
)
then
write
(
*
,
*
)
' FAILURE! > unable to set grid '
return
endif
...
...
@@ -195,6 +196,7 @@ program obl_main
! ----------------------------------------------------------------------------
call
set_time
(
time_begin
,
time_end
,
dt
,
obl_setup
,
ierr
)
if
(
ierr
/
=
0
)
then
write
(
*
,
*
)
' FAILURE! > unable to set time '
return
endif
time_current
=
time_begin
...
...
@@ -215,6 +217,7 @@ program obl_main
! ----------------------------------------------------------------------------
call
set_phys
(
obl_setup
,
ierr
)
if
(
ierr
/
=
0
)
then
write
(
*
,
*
)
' FAILURE! > unable to set phys parameters '
return
endif
! ----------------------------------------------------------------------------
...
...
@@ -223,6 +226,7 @@ program obl_main
! ----------------------------------------------------------------------------
call
set_forcing
(
obl_setup
,
ierr
)
if
(
ierr
/
=
0
)
then
write
(
*
,
*
)
' FAILURE! > unable to set forcing '
return
endif
! ----------------------------------------------------------------------------
...
...
@@ -231,6 +235,7 @@ program obl_main
! ----------------------------------------------------------------------------
call
set_initial_conditions
(
grid
,
obl_setup
,
ierr
)
if
(
ierr
/
=
0
)
then
write
(
*
,
*
)
' FAILURE! > unable to set initial conditions '
return
endif
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment