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
d543ce43
Commit
d543ce43
authored
2 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
init ppj is now deltak scaled
parent
621b6cd7
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/inital.F90
+5
-5
5 additions, 5 deletions
src/inital.F90
with
5 additions
and
5 deletions
src/inital.F90
+
5
−
5
View file @
d543ce43
...
...
@@ -221,7 +221,7 @@ SUBROUTINE init_gyrodens
END
DO
IF
(
contains_ky0
)
THEN
DO
ikx
=
2
,
Nkx
/
2
!symmetry at ky = 0 for all z
moments_e
(
ip
,
ij
,
iky_0
,
ikx
,:,:)
=
moments_e
(
ip
,
ij
,
iky_0
,
Nkx
+2
-
ikx
,:,
:)
moments_e
(
ip
,
ij
,
iky_0
,
ikx
,:,:)
=
moments_e
(
ip
,
ij
,
iky_0
,
Nkx
+2
-
ikx
,:,:)
END
DO
ENDIF
END
DO
...
...
@@ -422,9 +422,9 @@ SUBROUTINE init_ppj
ENDIF
ELSE
IF
(
ky
.GT.
0
)
THEN
moments_e
(
ip
,
ij
,
iky
,
ikx
,
iz
,:)
=
(
kx_min
/(
ABS
(
kx
)
+
kx_min
))
*
(
ky_min
/(
ABS
(
ky
)
+
ky_min
))
moments_e
(
ip
,
ij
,
iky
,
ikx
,
iz
,:)
=
(
deltakx
/(
ABS
(
kx
)
+
deltakx
))
*
(
ky_min
/(
ABS
(
ky
)
+
ky_min
))
ELSE
moments_e
(
ip
,
ij
,
iky
,
ikx
,
iz
,:)
=
0.5_dp
*
amp
*
(
kx_min
/(
ABS
(
kx
)
+
kx_min
))
moments_e
(
ip
,
ij
,
iky
,
ikx
,
iz
,:)
=
0.5_dp
*
amp
*
(
deltakx
/(
ABS
(
kx
)
+
deltakx
))
ENDIF
ENDIF
CALL
RANDOM_NUMBER
(
noise
)
...
...
@@ -465,9 +465,9 @@ SUBROUTINE init_ppj
ENDIF
ELSE
IF
(
ky
.GT.
0
)
THEN
moments_i
(
ip
,
ij
,
iky
,
ikx
,
iz
,:)
=
(
kx_min
/(
ABS
(
kx
)
+
kx_min
))
*
(
ky_min
/(
ABS
(
ky
)
+
ky_min
))
moments_i
(
ip
,
ij
,
iky
,
ikx
,
iz
,:)
=
(
deltakx
/(
ABS
(
kx
)
+
deltakx
))
*
(
ky_min
/(
ABS
(
ky
)
+
ky_min
))
ELSE
moments_i
(
ip
,
ij
,
iky
,
ikx
,
iz
,:)
=
0.5_dp
*
amp
*
(
kx_min
/(
ABS
(
kx
)
+
kx_min
))
moments_i
(
ip
,
ij
,
iky
,
ikx
,
iz
,:)
=
0.5_dp
*
amp
*
(
deltakx
/(
ABS
(
kx
)
+
deltakx
))
ENDIF
ENDIF
CALL
RANDOM_NUMBER
(
noise
)
...
...
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