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
56e0b1bf
Commit
56e0b1bf
authored
4 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
Allocation of Na00 arrays for diagnostics in 2D parallel
parent
5ebc1b03
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/memory.F90
+6
-2
6 additions, 2 deletions
src/memory.F90
with
6 additions
and
2 deletions
src/memory.F90
+
6
−
2
View file @
56e0b1bf
...
...
@@ -12,8 +12,8 @@ SUBROUTINE memory
IMPLICIT
NONE
! Moments with ghost degrees for p+2 p-2, j+1, j-1 truncations
CALL
allocate_array
(
moments_e
,
ipsg_e
,
ipeg_e
,
ijsg_e
,
ijeg_e
,
ikrs
,
ikre
,
ikzs
,
ikze
,
1
,
ntimelevel
)
CALL
allocate_array
(
moments_i
,
ipsg_i
,
ipeg_i
,
ijsg_i
,
ijeg_i
,
ikrs
,
ikre
,
ikzs
,
ikze
,
1
,
ntimelevel
)
CALL
allocate_array
(
moments_e
,
ipsg_e
,
ipeg_e
,
ijsg_e
,
ijeg_e
,
ikrs
,
ikre
,
ikzs
,
ikze
,
1
,
ntimelevel
)
CALL
allocate_array
(
moments_i
,
ipsg_i
,
ipeg_i
,
ijsg_i
,
ijeg_i
,
ikrs
,
ikre
,
ikzs
,
ikze
,
1
,
ntimelevel
)
! Moments right-hand-side (contains linear part of hierarchy)
CALL
allocate_array
(
moments_rhs_e
,
ips_e
,
ipe_e
,
ijs_e
,
ije_e
,
ikrs
,
ikre
,
ikzs
,
ikze
,
1
,
ntimelevel
)
...
...
@@ -21,6 +21,10 @@ SUBROUTINE memory
! Electrostatic potential
CALL
allocate_array
(
phi
,
ikrs
,
ikre
,
ikzs
,
ikze
)
! Gyrocenter density *for 2D output*
CALL
allocate_array
(
Ne00
,
ikrs
,
ikre
,
ikzs
,
ikze
)
CALL
allocate_array
(
Ni00
,
ikrs
,
ikre
,
ikzs
,
ikze
)
! Kernel evaluation from j= -1 to jmax+1 for truncation
CALL
allocate_array
(
Kernel_e
,
ijsg_e
,
ijeg_e
,
ikrs
,
ikre
,
ikzs
,
ikze
)
...
...
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