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
bc1b8410
Commit
bc1b8410
authored
1 year ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
remove KERN variable (useless)
parent
4934cae2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/model_mod.F90
+11
-4
11 additions, 4 deletions
src/model_mod.F90
with
11 additions
and
4 deletions
src/model_mod.F90
+
11
−
4
View file @
bc1b8410
...
...
@@ -4,7 +4,6 @@ MODULE model
IMPLICIT
NONE
PRIVATE
! INPUTS
INTEGER
,
PUBLIC
,
PROTECTED
::
KERN
=
0
! Kernel model
CHARACTER
(
len
=
16
),
&
PUBLIC
,
PROTECTED
::
LINEARITY
=
'linear'
! To turn on non linear bracket term
REAL
(
xp
),
PUBLIC
,
PROTECTED
::
mu_x
=
0._xp
! spatial x-Hyperdiffusivity coefficient (for num. stability)
...
...
@@ -39,6 +38,11 @@ MODULE model
LOGICAL
,
PUBLIC
,
PROTECTED
::
FORCE_SYMMETRY
=
.false.
! Add or remove the ExB nonlinear correction (Mcmillan 2019)
LOGICAL
,
PUBLIC
,
PROTECTED
::
ExB_NL_CORRECTION
=
.true.
CHARACTER
(
len
=
16
),
&
PUBLIC
,
PROTECTED
::
KN_MODEL
=
'std'
! Kernel model
INTEGER
,
PUBLIC
,
PROTECTED
::
ORDER
=
1
! order for Taylor expansion
INTEGER
,
PUBLIC
,
PROTECTED
::
ORDER_NUM
=
2
! numerator order for Pade approx
INTEGER
,
PUBLIC
,
PROTECTED
::
ORDER_DEN
=
4
! denominator order for Pade approx
! Module's routines
PUBLIC
::
model_readinputs
,
model_outputinputs
...
...
@@ -52,11 +56,11 @@ CONTAINS
USE
prec_const
,
ONLY
:
xp
IMPLICIT
NONE
NAMELIST
/
MODEL
/
KERN
,
LINEARITY
,
RM_LD_T_EQ
,
FORCE_SYMMETRY
,
MHD_PD
,
&
NAMELIST
/
MODEL
/
LINEARITY
,
RM_LD_T_EQ
,
FORCE_SYMMETRY
,
MHD_PD
,
&
Na
,
ADIAB_E
,
ADIAB_I
,
q_i
,
tau_i
,
&
mu_x
,
mu_y
,
N_HD
,
HDz_h
,
mu_z
,
mu_p
,
mu_j
,
HYP_V
,
&
nu
,
k_gB
,
k_cB
,
lambdaD
,
beta
,
ExBrate
,
ExB_NL_CORRECTION
,&
ikxZF
,
ZFrate
,
ZF_ONLY
ikxZF
,
ZFrate
,
ZF_ONLY
,
KN_MODEL
,
ORDER
,
ORDER_NUM
,
ORDER_DEN
READ
(
lu_in
,
model
)
...
...
@@ -96,7 +100,6 @@ CONTAINS
CHARACTER
(
len
=
256
)
::
str
WRITE
(
str
,
'(a)'
)
'/data/input/model'
CALL
creatd
(
fid
,
0
,(/
0
/),
TRIM
(
str
),
'Model Input'
)
CALL
attach
(
fid
,
TRIM
(
str
),
"KERN"
,
KERN
)
CALL
attach
(
fid
,
TRIM
(
str
),
"LINEARITY"
,
LINEARITY
)
CALL
attach
(
fid
,
TRIM
(
str
),
"RM_LD_T_EQ"
,
RM_LD_T_EQ
)
CALL
attach
(
fid
,
TRIM
(
str
),
"mu_x"
,
mu_x
)
...
...
@@ -120,6 +123,10 @@ CONTAINS
CALL
attach
(
fid
,
TRIM
(
str
),
"ADIAB_E"
,
ADIAB_E
)
CALL
attach
(
fid
,
TRIM
(
str
),
"ADIAB_I"
,
ADIAB_I
)
CALL
attach
(
fid
,
TRIM
(
str
),
"tau_i"
,
tau_i
)
CALL
attach
(
fid
,
TRIM
(
str
),
"kern model"
,
KN_MODEL
)
CALL
attach
(
fid
,
TRIM
(
str
),
"order den"
,
ORDER_DEN
)
CALL
attach
(
fid
,
TRIM
(
str
),
"order num"
,
ORDER_NUM
)
CALL
attach
(
fid
,
TRIM
(
str
),
"order"
,
ORDER
)
END
SUBROUTINE
model_outputinputs
END
MODULE
model
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