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
777211cb
Commit
777211cb
authored
1 year ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
put the default EM and MHD_PD flags to true
parent
7ed60f68
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/model_mod.F90
+8
-5
8 additions, 5 deletions
src/model_mod.F90
with
8 additions
and
5 deletions
src/model_mod.F90
+
8
−
5
View file @
777211cb
...
...
@@ -26,8 +26,8 @@ MODULE model
LOGICAL
,
PUBLIC
::
ADIAB_I
=
.false.
! adiabatic ion model
REAL
(
xp
),
PUBLIC
,
PROTECTED
::
tau_i
=
1.0
! electron-ion temperature ratio for ion adiabatic model
! Auxiliary variable
LOGICAL
,
PUBLIC
,
PROTECTED
::
EM
=
.
fals
e.
! Electromagnetic effects flag
LOGICAL
,
PUBLIC
,
PROTECTED
::
MHD_PD
=
.
fals
e.
! MHD pressure drift
LOGICAL
,
PUBLIC
,
PROTECTED
::
EM
=
.
tru
e.
! Electromagnetic effects flag
LOGICAL
,
PUBLIC
,
PROTECTED
::
MHD_PD
=
.
tru
e.
! 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
...
...
@@ -45,9 +45,9 @@ CONTAINS
USE
prec_const
IMPLICIT
NONE
NAMELIST
/
MODEL_PAR
/
KERN
,
LINEARITY
,
RM_LD_T_EQ
,
FORCE_SYMMETRY
,
&
NAMELIST
/
MODEL_PAR
/
KERN
,
LINEARITY
,
RM_LD_T_EQ
,
FORCE_SYMMETRY
,
MHD_PD
,
&
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
nu
,
k_gB
,
k_cB
,
lambdaD
,
beta
,
ADIAB_E
,
ADIAB_I
,
tau_i
READ
(
lu_in
,
model_par
)
...
...
@@ -62,13 +62,16 @@ CONTAINS
IF
(
ADIAB_E
)
THEN
CALL
speak
(
'Adiabatic electron model -> beta = 0'
)
beta
=
0._xp
EM
=
.false.
ENDIF
IF
(
ADIAB_I
)
CALL
speak
(
'Adiabatic ion model'
)
ENDIF
IF
(
beta
.GT.
0
)
THEN
CALL
speak
(
'Electromagnetic effects are included'
)
EM
=
.TRUE.
EM
=
.TRUE.
ELSE
EM
=
.FALSE.
ENDIF
END
SUBROUTINE
model_readinputs
...
...
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