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
40d6e161
Commit
40d6e161
authored
1 year ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
Input parameter to impose symmetry on ky=0 modes
parent
9eb9937f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/model_mod.F90
+5
-2
5 additions, 2 deletions
src/model_mod.F90
src/stepon.F90
+4
-4
4 additions, 4 deletions
src/stepon.F90
with
9 additions
and
6 deletions
src/model_mod.F90
+
5
−
2
View file @
40d6e161
...
...
@@ -28,9 +28,12 @@ MODULE model
! Auxiliary variable
LOGICAL
,
PUBLIC
,
PROTECTED
::
EM
=
.false.
! Electromagnetic effects flag
LOGICAL
,
PUBLIC
,
PROTECTED
::
MHD_PD
=
.false.
! MHD pressure drift
! Removes Landau damping in temperature and higher equation (Ivanov 2022)
LOGICAL
,
PUBLIC
,
PROTECTED
::
RM_LD_T_EQ
=
.false.
! Flag to force the reality condition symmetry for the kx at ky=0
LOGICAL
,
PUBLIC
,
PROTECTED
::
FORCE_SYMMETRY
=
.false.
! Module's routines
PUBLIC
::
model_readinputs
,
model_outputinputs
CONTAINS
...
...
@@ -42,7 +45,7 @@ CONTAINS
USE
prec_const
IMPLICIT
NONE
NAMELIST
/
MODEL_PAR
/
KERN
,
LINEARITY
,
RM_LD_T_EQ
,
&
NAMELIST
/
MODEL_PAR
/
KERN
,
LINEARITY
,
RM_LD_T_EQ
,
FORCE_SYMMETRY
,
&
mu_x
,
mu_y
,
N_HD
,
HDz_h
,
mu_z
,
mu_p
,
mu_j
,
HYP_V
,
Na
,&
nu
,
k_gB
,
k_cB
,
lambdaD
,
MHD_PD
,
beta
,
ADIAB_E
,
ADIAB_I
,
tau_i
...
...
This diff is collapsed.
Click to expand it.
src/stepon.F90
+
4
−
4
View file @
40d6e161
...
...
@@ -110,13 +110,13 @@ CONTAINS
USE
utility
,
ONLY
:
is_nan
,
is_inf
USE
fields
,
ONLY
:
phi
USE
MPI
USE
model
,
ONLY
:
LINEARITY
USE
model
,
ONLY
:
LINEARITY
,
FORCE_SYMMETRY
IMPLICIT
NONE
LOGICAL
::
checkf_
REAL
::
sum_
!
! Maybe useless
IF
(
LINEARITY
.NE.
'linear'
)
CALL
anti_aliasing
! ensure 0 mode for 2/3 rule
!
IF(
LINEARITY .NE. 'linear')
CALL enforce_symmetry ! Enforcing symmetry on kx = 0
!
filtering
IF
(
LINEARITY
.NE.
'linear'
)
CALL
anti_aliasing
! ensure 0 mode for 2/3 rule
IF
(
FORCE_SYMMETRY
)
CALL
enforce_symmetry
! Enforcing symmetry on kx = 0
(looks useless)
mlend
=
.FALSE.
IF
(
.NOT.
nlend
)
THEN
...
...
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