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
a51d92a0
Commit
a51d92a0
authored
2 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
shear setup
parent
93e37b31
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/auxval.F90
+1
-1
1 addition, 1 deletion
src/auxval.F90
src/grid_mod.F90
+6
-2
6 additions, 2 deletions
src/grid_mod.F90
with
7 additions
and
3 deletions
src/auxval.F90
+
1
−
1
View file @
a51d92a0
...
...
@@ -27,7 +27,7 @@ subroutine auxval
CALL
set_jgrid
! perp kin
CALL
set_kxgrid
! radial modes (MPI distributed by FFTW)
CALL
set_kxgrid
(
shear
)
! radial modes (MPI distributed by FFTW)
CALL
set_kygrid
! azymuthal modes
...
...
This diff is collapsed.
Click to expand it.
src/grid_mod.F90
+
6
−
2
View file @
a51d92a0
...
...
@@ -341,12 +341,16 @@ CONTAINS
END
DO
END
SUBROUTINE
set_kygrid
SUBROUTINE
set_kxgrid
SUBROUTINE
set_kxgrid
(
shear
)
USE
prec_const
USE
model
,
ONLY
:
LINEARITY
IMPLICIT
NONE
REAL
(
dp
),
INTENT
(
IN
)
::
shear
INTEGER
::
i_
,
counter
IF
(
shear
.GT.
0._dp
)
THEN
IF
(
my_id
.EQ.
0
)
write
(
*
,
*
)
'Magnetic shear detected: set up sheared kx grid..'
Lx
=
Ly
/(
2._dp
*
pi
*
shear
)
ENDIF
Nkx
=
Nx
;
! Local data
! Start and END indices of grid
...
...
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