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
dc0bae85
Commit
dc0bae85
authored
4 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
Imaginary unit was not written in double precision
parent
031ca67f
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/prec_const_mod.F90
+19
-19
19 additions, 19 deletions
src/prec_const_mod.F90
with
19 additions
and
19 deletions
src/prec_const_mod.F90
+
19
−
19
View file @
dc0bae85
...
...
@@ -23,31 +23,31 @@ MODULE prec_const
! Some useful constants, to avoid recomputing then too often
REAL
(
dp
),
PARAMETER
::
PI
=
3.141592653589793238462643383279502884197_dp
REAL
(
dp
),
PARAMETER
::
PIO2
=
1.57079632679489661923132169163975144209858_dp
REAL
(
dp
),
PARAMETER
::
TWOPI
=
6.283185307179586476925286766559005768394_dp
REAL
(
dp
),
PARAMETER
::
SQRT2
=
1.41421356237309504880168872420969807856967_dp
REAL
(
dp
),
PARAMETER
::
INVSQRT2
=
0.7071067811865475244008443621048490392848359377_dp
REAL
(
dp
),
PARAMETER
::
SQRT3
=
1.73205080756887729352744634150587236694281_dp
REAL
(
dp
),
PARAMETER
::
onetwelfth
=
0.08333333333333333333333333333333333333333333333_dp
REAL
(
dp
),
PARAMETER
::
onetwentyfourth
=
0.04166666666666666666666666666666666666666666667_dp
REAL
(
dp
),
PARAMETER
::
onethird
=
0.33333333333333333333333333333333333333333333333_dp
REAL
(
dp
),
PARAMETER
::
onesixth
=
0.1666666666666666666666666666666666666666666667_dp
REAL
(
dp
),
PARAMETER
::
fivesixths
=
0.8333333333333333333333333333333333333333333333_dp
REAL
(
dp
),
PARAMETER
::
sevensixths
=
1.1666666666666666666666666666666666666666666667_dp
REAL
(
dp
),
PARAMETER
::
elevensixths
=
1.833333333333333333333333333333333333333333333_dp
REAL
(
dp
),
PARAMETER
::
nineeighths
=
1.125_dp
REAL
(
dp
),
PARAMETER
::
onesixteenth
=
0.0625_dp
REAL
(
dp
),
PARAMETER
::
ninesixteenths
=
0.5625_dp
REAL
(
dp
),
PARAMETER
::
thirteentwelfths
=
1.083333333333333333333333333333333333333333333_dp
COMPLEX
(
dp
),
PARAMETER
::
imagu
=
(
0
,
1
)
REAL
(
dp
),
PARAMETER
::
PI
=
3.141592653589793238462643383279502884197_dp
REAL
(
dp
),
PARAMETER
::
PIO2
=
1.57079632679489661923132169163975144209858_dp
REAL
(
dp
),
PARAMETER
::
TWOPI
=
6.283185307179586476925286766559005768394_dp
REAL
(
dp
),
PARAMETER
::
SQRT2
=
1.41421356237309504880168872420969807856967_dp
REAL
(
dp
),
PARAMETER
::
INVSQRT2
=
0.7071067811865475244008443621048490392848359377_dp
REAL
(
dp
),
PARAMETER
::
SQRT3
=
1.73205080756887729352744634150587236694281_dp
REAL
(
dp
),
PARAMETER
::
onetwelfth
=
0.08333333333333333333333333333333333333333333333_dp
REAL
(
dp
),
PARAMETER
::
onetwentyfourth
=
0.04166666666666666666666666666666666666666666667_dp
REAL
(
dp
),
PARAMETER
::
onethird
=
0.33333333333333333333333333333333333333333333333_dp
REAL
(
dp
),
PARAMETER
::
onesixth
=
0.1666666666666666666666666666666666666666666667_dp
REAL
(
dp
),
PARAMETER
::
fivesixths
=
0.8333333333333333333333333333333333333333333333_dp
REAL
(
dp
),
PARAMETER
::
sevensixths
=
1.1666666666666666666666666666666666666666666667_dp
REAL
(
dp
),
PARAMETER
::
elevensixths
=
1.833333333333333333333333333333333333333333333_dp
REAL
(
dp
),
PARAMETER
::
nineeighths
=
1.125_dp
REAL
(
dp
),
PARAMETER
::
onesixteenth
=
0.0625_dp
REAL
(
dp
),
PARAMETER
::
ninesixteenths
=
0.5625_dp
REAL
(
dp
),
PARAMETER
::
thirteentwelfths
=
1.083333333333333333333333333333333333333333333_dp
COMPLEX
(
dp
),
PARAMETER
::
imagu
=
(
0
._dp
,
1._dp
)
CONTAINS
SUBROUTINE
INIT_PREC_CONST
IMPLICIT
NONE
integer
::
ierr
,
me
REAL
(
sp
)
::
a
=
1_sp
REAL
(
dp
)
::
b
=
1_dp
...
...
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