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
c59e270c
Commit
c59e270c
authored
1 year ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
no kx blob init is available
parent
2931eaff
Loading
Loading
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/initial_mod.F90
+7
-4
7 additions, 4 deletions
src/initial_mod.F90
with
7 additions
and
4 deletions
src/initial_mod.F90
+
7
−
4
View file @
c59e270c
...
@@ -115,7 +115,7 @@ CONTAINS
...
@@ -115,7 +115,7 @@ CONTAINS
CALL
update_ghosts_moments
CALL
update_ghosts_moments
CALL
solve_EM_fields
CALL
solve_EM_fields
! init a gaussian blob in gyrodens
! init a gaussian blob in gyrodens
CASE
(
'blob'
)
CASE
(
'blob'
,
'blob_nokx'
)
CALL
speak
(
'--init a blob'
)
CALL
speak
(
'--init a blob'
)
CALL
initialize_blob
CALL
initialize_blob
CALL
update_ghosts_moments
CALL
update_ghosts_moments
...
@@ -290,7 +290,7 @@ CONTAINS
...
@@ -290,7 +290,7 @@ CONTAINS
USE
prec_const
,
ONLY
:
xp
USE
prec_const
,
ONLY
:
xp
USE
model
,
ONLY
:
LINEARITY
USE
model
,
ONLY
:
LINEARITY
USE
grid
,
ONLY
:
total_nkx
,
local_nkx_offset
,
local_nky
,
local_nky_offset
,&
USE
grid
,
ONLY
:
total_nkx
,
local_nkx_offset
,
local_nky
,
local_nky_offset
,&
kxarray_full
,
kyarray
,
kx_max
,
kx_min
,
ky_max
kxarray_full
,
kyarray
_full
,
kx_max
,
kx_min
,
ky_max
IMPLICIT
NONE
IMPLICIT
NONE
INTEGER
::
ikx
,
iky
,
im
,
I_
,
J_
INTEGER
::
ikx
,
iky
,
im
,
I_
,
J_
REAL
(
xp
)::
maxkx
,
minkx
,
maxky
,
kx_
,
ky_
,
A_
REAL
(
xp
)::
maxkx
,
minkx
,
maxky
,
kx_
,
ky_
,
A_
...
@@ -318,8 +318,8 @@ CONTAINS
...
@@ -318,8 +318,8 @@ CONTAINS
J_
=
J_
+
1
J_
=
J_
+
1
! Check the validity of the modes
! Check the validity of the modes
kx_
=
kxarray_full
(
I_
)
kx_
=
kxarray_full
(
I_
)
ky_
=
kyarray
(
J_
)
ky_
=
kyarray
_full
(
J_
)
IF
(
((
kx_
.
L
E.
m
ax
kx
)
.AND.
(
kx_
.LE.
maxkx
))
.AND.
&
IF
(
((
kx_
.
G
E.
m
in
kx
)
.AND.
(
kx_
.LE.
maxkx
))
.AND.
&
((
ky_
.GE.
0._xp
)
.AND.
(
ky_
.LE.
maxky
))
)
THEN
((
ky_
.GE.
0._xp
)
.AND.
(
ky_
.LE.
maxky
))
)
THEN
! Init the mode
! Init the mode
DO
ikx
=
1
,
total_nkx
DO
ikx
=
1
,
total_nkx
...
@@ -485,6 +485,9 @@ CONTAINS
...
@@ -485,6 +485,9 @@ CONTAINS
*
AA_x
(
ikx
)
*
AA_y
(
iky
)
*
&
*
AA_x
(
ikx
)
*
AA_y
(
iky
)
*
&
(
Jacobian
(
iz
,
ieven
)
*
iInt_Jacobian
)
**
2
!&
(
Jacobian
(
iz
,
ieven
)
*
iInt_Jacobian
)
**
2
!&
! * exp(sigmai2_taui_o2*(kx**2+ky**2))
! * exp(sigmai2_taui_o2*(kx**2+ky**2))
if
((
INIT_OPT
.EQ.
'blob_nokx'
)
.and.
(
abs
(
kx
)
.GT.
EPSILON
(
kx
)))
THEN
moments
(
ia
,
ip
,
ij
,
iky
,
ikx
,
iz
,
:)
=
0._xp
ENDIF
ENDIF
ENDIF
ENDDO
ENDDO
ENDDO
ENDDO
...
...
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