Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Gyacomo
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
Antoine Cyril David Hoffmann
Gyacomo
Commits
5a8c7041
Commit
5a8c7041
authored
2 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
Renaming to "non zonal" the former "entropy mode" arrays
parent
286ce7a6
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
src/array_mod.F90
+3
-3
3 additions, 3 deletions
src/array_mod.F90
src/memory.F90
+2
-2
2 additions, 2 deletions
src/memory.F90
src/numerical_experiments_mod.F90
+8
-8
8 additions, 8 deletions
src/numerical_experiments_mod.F90
with
13 additions
and
13 deletions
src/array_mod.F90
+
3
−
3
View file @
5a8c7041
...
@@ -24,9 +24,9 @@ MODULE array
...
@@ -24,9 +24,9 @@ MODULE array
COMPLEX
(
dp
),
DIMENSION
(:,:,:,:),
ALLOCATABLE
::
moments_e_ZF
COMPLEX
(
dp
),
DIMENSION
(:,:,:,:),
ALLOCATABLE
::
moments_e_ZF
COMPLEX
(
dp
),
DIMENSION
(:,:,:,:),
ALLOCATABLE
::
moments_i_ZF
COMPLEX
(
dp
),
DIMENSION
(:,:,:,:),
ALLOCATABLE
::
moments_i_ZF
COMPLEX
(
dp
),
DIMENSION
(:,:),
ALLOCATABLE
::
phi_ZF
COMPLEX
(
dp
),
DIMENSION
(:,:),
ALLOCATABLE
::
phi_ZF
!
Entropy
modes (kx=0)
!
non-zonal
modes (kx=0)
COMPLEX
(
dp
),
DIMENSION
(:,:,:,:),
ALLOCATABLE
::
moments_e_
EM
COMPLEX
(
dp
),
DIMENSION
(:,:,:,:),
ALLOCATABLE
::
moments_e_
NZ
COMPLEX
(
dp
),
DIMENSION
(:,:,:,:),
ALLOCATABLE
::
moments_i_
EM
COMPLEX
(
dp
),
DIMENSION
(:,:,:,:),
ALLOCATABLE
::
moments_i_
NZ
COMPLEX
(
dp
),
DIMENSION
(:,:),
ALLOCATABLE
::
phi_EM
COMPLEX
(
dp
),
DIMENSION
(:,:),
ALLOCATABLE
::
phi_EM
! Non linear term array (ip,ij,iky,ikx,iz)
! Non linear term array (ip,ij,iky,ikx,iz)
...
...
This diff is collapsed.
Click to expand it.
src/memory.F90
+
2
−
2
View file @
5a8c7041
...
@@ -40,7 +40,7 @@ SUBROUTINE memory
...
@@ -40,7 +40,7 @@ SUBROUTINE memory
CALL
allocate_array
(
ddzND_nepj
,
ipgs_e
,
ipge_e
,
ijgs_e
,
ijge_e
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izgs
,
izge
)
CALL
allocate_array
(
ddzND_nepj
,
ipgs_e
,
ipge_e
,
ijgs_e
,
ijge_e
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izgs
,
izge
)
CALL
allocate_array
(
interp_nepj
,
ipgs_e
,
ipge_e
,
ijgs_e
,
ijge_e
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izgs
,
izge
)
CALL
allocate_array
(
interp_nepj
,
ipgs_e
,
ipge_e
,
ijgs_e
,
ijge_e
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izgs
,
izge
)
CALL
allocate_array
(
moments_e_ZF
,
ipgs_e
,
ipge_e
,
ijgs_e
,
ijge_e
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
moments_e_ZF
,
ipgs_e
,
ipge_e
,
ijgs_e
,
ijge_e
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
moments_e_
EM
,
ipgs_e
,
ipge_e
,
ijgs_e
,
ijge_e
,
ikys
,
ikye
,
izs
,
ize
)
CALL
allocate_array
(
moments_e_
NZ
,
ipgs_e
,
ipge_e
,
ijgs_e
,
ijge_e
,
ikys
,
ikye
,
izs
,
ize
)
CALL
allocate_array
(
TColl_e
,
ips_e
,
ipe_e
,
ijs_e
,
ije_e
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
TColl_e
,
ips_e
,
ipe_e
,
ijs_e
,
ije_e
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
Sepj
,
ips_e
,
ipe_e
,
ijs_e
,
ije_e
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
Sepj
,
ips_e
,
ipe_e
,
ijs_e
,
ije_e
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
xnepj
,
ips_e
,
ipe_e
,
ijs_e
,
ije_e
)
CALL
allocate_array
(
xnepj
,
ips_e
,
ipe_e
,
ijs_e
,
ije_e
)
...
@@ -76,7 +76,7 @@ SUBROUTINE memory
...
@@ -76,7 +76,7 @@ SUBROUTINE memory
CALL
allocate_array
(
ddzND_nipj
,
ipgs_i
,
ipge_i
,
ijgs_i
,
ijge_i
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izgs
,
izge
)
CALL
allocate_array
(
ddzND_nipj
,
ipgs_i
,
ipge_i
,
ijgs_i
,
ijge_i
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izgs
,
izge
)
CALL
allocate_array
(
interp_nipj
,
ipgs_i
,
ipge_i
,
ijgs_i
,
ijge_i
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izgs
,
izge
)
CALL
allocate_array
(
interp_nipj
,
ipgs_i
,
ipge_i
,
ijgs_i
,
ijge_i
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izgs
,
izge
)
CALL
allocate_array
(
moments_i_ZF
,
ipgs_i
,
ipge_i
,
ijgs_i
,
ijge_i
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
moments_i_ZF
,
ipgs_i
,
ipge_i
,
ijgs_i
,
ijge_i
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
moments_i_
EM
,
ipgs_i
,
ipge_i
,
ijgs_i
,
ijge_i
,
ikys
,
ikye
,
izs
,
ize
)
CALL
allocate_array
(
moments_i_
NZ
,
ipgs_i
,
ipge_i
,
ijgs_i
,
ijge_i
,
ikys
,
ikye
,
izs
,
ize
)
CALL
allocate_array
(
TColl_i
,
ips_i
,
ipe_i
,
ijs_i
,
ije_i
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
TColl_i
,
ips_i
,
ipe_i
,
ijs_i
,
ije_i
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
Sipj
,
ips_i
,
ipe_i
,
ijs_i
,
ije_i
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
Sipj
,
ips_i
,
ipe_i
,
ijs_i
,
ije_i
,
ikys
,
ikye
,
ikxs
,
ikxe
,
izs
,
ize
)
CALL
allocate_array
(
xnipj
,
ips_i
,
ipe_i
,
ijs_i
,
ije_i
)
CALL
allocate_array
(
xnipj
,
ips_i
,
ipe_i
,
ijs_i
,
ije_i
)
...
...
This diff is collapsed.
Click to expand it.
src/numerical_experiments_mod.F90
+
8
−
8
View file @
5a8c7041
...
@@ -17,7 +17,7 @@ CONTAINS
...
@@ -17,7 +17,7 @@ CONTAINS
!******************************************************************************!
!******************************************************************************!
SUBROUTINE
save_EM_ZF_modes
SUBROUTINE
save_EM_ZF_modes
USE
fields
USE
fields
USE
array
,
ONLY
:
moments_e_ZF
,
moments_i_ZF
,
phi_ZF
,
moments_e_
EM
,
moments_i_
EM
,
phi_EM
USE
array
,
ONLY
:
moments_e_ZF
,
moments_i_ZF
,
phi_ZF
,
moments_e_
NZ
,
moments_i_
NZ
,
phi_EM
USE
grid
USE
grid
USE
time_integration
,
ONLY
:
updatetlevel
USE
time_integration
,
ONLY
:
updatetlevel
USE
model
,
ONLY
:
KIN_E
USE
model
,
ONLY
:
KIN_E
...
@@ -36,20 +36,20 @@ SUBROUTINE save_EM_ZF_modes
...
@@ -36,20 +36,20 @@ SUBROUTINE save_EM_ZF_modes
ENDIF
ENDIF
IF
(
contains_kx0
)
THEN
IF
(
contains_kx0
)
THEN
IF
(
KIN_E
)
&
IF
(
KIN_E
)
&
moments_e_
EM
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
izs
:
ize
)
=
moments_e
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
ikx_0
,
izs
:
ize
,
updatetlevel
)
moments_e_
NZ
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
izs
:
ize
)
=
moments_e
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
ikx_0
,
izs
:
ize
,
updatetlevel
)
moments_i_
EM
(
ips_i
:
ipe_i
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
izs
:
ize
)
=
moments_i
(
ips_i
:
ipe_i
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
ikx_0
,
izs
:
ize
,
updatetlevel
)
moments_i_
NZ
(
ips_i
:
ipe_i
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
izs
:
ize
)
=
moments_i
(
ips_i
:
ipe_i
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
ikx_0
,
izs
:
ize
,
updatetlevel
)
phi_EM
(
ikys
:
ikye
,
izs
:
ize
)
=
phi
(
ikys
:
ikye
,
ikx_0
,
izs
:
ize
)
phi_EM
(
ikys
:
ikye
,
izs
:
ize
)
=
phi
(
ikys
:
ikye
,
ikx_0
,
izs
:
ize
)
ELSE
ELSE
IF
(
KIN_E
)
&
IF
(
KIN_E
)
&
moments_e_
EM
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
izs
:
ize
)
=
0._dp
moments_e_
NZ
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
izs
:
ize
)
=
0._dp
moments_i_
EM
(
ips_e
:
ipe_e
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
izs
:
ize
)
=
0._dp
moments_i_
NZ
(
ips_e
:
ipe_e
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
izs
:
ize
)
=
0._dp
phi_EM
(
ikys
:
ikye
,
izs
:
ize
)
=
0._dp
phi_EM
(
ikys
:
ikye
,
izs
:
ize
)
=
0._dp
ENDIF
ENDIF
END
SUBROUTINE
END
SUBROUTINE
SUBROUTINE
play_with_modes
SUBROUTINE
play_with_modes
USE
fields
USE
fields
USE
array
,
ONLY
:
moments_e_ZF
,
moments_i_ZF
,
phi_ZF
,
moments_e_
EM
,
moments_i_
EM
,
phi_EM
USE
array
,
ONLY
:
moments_e_ZF
,
moments_i_ZF
,
phi_ZF
,
moments_e_
NZ
,
moments_i_
NZ
,
phi_EM
USE
grid
USE
grid
USE
time_integration
,
ONLY
:
updatetlevel
USE
time_integration
,
ONLY
:
updatetlevel
USE
initial_par
,
ONLY
:
ACT_ON_MODES
USE
initial_par
,
ONLY
:
ACT_ON_MODES
...
@@ -98,8 +98,8 @@ SUBROUTINE play_with_modes
...
@@ -98,8 +98,8 @@ SUBROUTINE play_with_modes
CASE
(
'freeze_entropymode'
)
CASE
(
'freeze_entropymode'
)
IF
(
contains_kx0
)
THEN
IF
(
contains_kx0
)
THEN
IF
(
KIN_E
)
&
IF
(
KIN_E
)
&
moments_e
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
ikx_0
,
izs
:
ize
,
updatetlevel
)
=
moments_e_
EM
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
izs
:
ize
)
moments_e
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
ikx_0
,
izs
:
ize
,
updatetlevel
)
=
moments_e_
NZ
(
ips_e
:
ipe_e
,
ijs_e
:
ije_e
,
ikys
:
ikye
,
izs
:
ize
)
moments_i
(
ips_i
:
ipe_i
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
ikx_0
,
izs
:
ize
,
updatetlevel
)
=
moments_i_
EM
(
ips_i
:
ipe_i
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
izs
:
ize
)
moments_i
(
ips_i
:
ipe_i
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
ikx_0
,
izs
:
ize
,
updatetlevel
)
=
moments_i_
NZ
(
ips_i
:
ipe_i
,
ijs_i
:
ije_i
,
ikys
:
ikye
,
izs
:
ize
)
phi
(
ikys
:
ikye
,
ikx_0
,
izs
:
ize
)
=
phi_EM
(
ikys
:
ikye
,
izs
:
ize
)
phi
(
ikys
:
ikye
,
ikx_0
,
izs
:
ize
)
=
phi_EM
(
ikys
:
ikye
,
izs
:
ize
)
ENDIF
ENDIF
CASE
(
'amplify_zonal'
)
CASE
(
'amplify_zonal'
)
...
...
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