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
17a3be28
Commit
17a3be28
authored
3 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
adding some precomputed constants
parent
3337602c
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
+4
-0
4 additions, 0 deletions
src/model_mod.F90
with
4 additions
and
0 deletions
src/model_mod.F90
+
4
−
0
View file @
17a3be28
...
...
@@ -37,6 +37,8 @@ MODULE model
REAL
(
dp
),
PUBLIC
,
PROTECTED
::
qi_sigmai_sqrtTaui
!
REAL
(
dp
),
PUBLIC
,
PROTECTED
::
sigmae2_taue_o2
! factor of the Kernel argument
REAL
(
dp
),
PUBLIC
,
PROTECTED
::
sigmai2_taui_o2
!
REAL
(
dp
),
PUBLIC
,
PROTECTED
::
sqrt_sigmae2_taue_o2
! factor of the Kernel argument
REAL
(
dp
),
PUBLIC
,
PROTECTED
::
sqrt_sigmai2_taui_o2
REAL
(
dp
),
PUBLIC
,
PROTECTED
::
nu_e
,
nu_i
! electron-ion, ion-ion collision frequency
REAL
(
dp
),
PUBLIC
,
PROTECTED
::
nu_ee
,
nu_ie
! e-e, i-e coll. frequ.
REAL
(
dp
),
PUBLIC
,
PROTECTED
::
qe2_taue
,
qi2_taui
! factor of the gammaD sum
...
...
@@ -68,6 +70,8 @@ CONTAINS
qi2_taui
=
(
q_i
**
2
)/
tau_i
sigmae2_taue_o2
=
sigma_e
**
2
*
tau_e
/
2._dp
! factor of the Kernel argument
sigmai2_taui_o2
=
sigma_i
**
2
*
tau_i
/
2._dp
sqrt_sigmae2_taue_o2
=
SQRT
(
sigma_e
**
2
*
tau_e
/
2._dp
)
! to avoid multiple SQRT eval
sqrt_sigmai2_taui_o2
=
SQRT
(
sigma_i
**
2
*
tau_i
/
2._dp
)
!! We use the ion-ion collision as normalization with definition
! nu_ii = 4 sqrt(pi)/3 T_i^(-3/2) m_i^(-1/2) q^4 n_i0 ln(Lambda)
!
...
...
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