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
9422e102
Commit
9422e102
authored
1 year ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
add comments
parent
c36a0067
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/calculus_mod.F90
+4
-4
4 additions, 4 deletions
src/calculus_mod.F90
with
4 additions
and
4 deletions
src/calculus_mod.F90
+
4
−
4
View file @
9422e102
...
...
@@ -3,13 +3,13 @@ MODULE calculus
USE
prec_const
,
ONLY
:
xp
IMPLICIT
NONE
REAL
(
xp
),
dimension
(
-2
:
2
)
::
dz_usu
=
&
(/
1._xp
/
12._xp
,
-2._xp
/
3._xp
,
0._xp
,
2._xp
/
3._xp
,
-1._xp
/
12._xp
/)
!
fd4
centered stencil
(/
1._xp
/
12._xp
,
-2._xp
/
3._xp
,
0._xp
,
2._xp
/
3._xp
,
-1._xp
/
12._xp
/)
!
1st derivative, 4th order,
centered stencil
REAL
(
xp
),
dimension
(
-2
:
1
)
::
dz_o2e
=
&
(/
1._xp
/
24._xp
,
-9._xp
/
8._xp
,
9._xp
/
8._xp
,
-1._xp
/
24._xp
/)
!
fd4
odd to even stencil
(/
1._xp
/
24._xp
,
-9._xp
/
8._xp
,
9._xp
/
8._xp
,
-1._xp
/
24._xp
/)
!
1st derivative, 4th order,
odd to even stencil
REAL
(
xp
),
dimension
(
-1
:
2
)
::
dz_e2o
=
&
(/
1._xp
/
24._xp
,
-9._xp
/
8._xp
,
9._xp
/
8._xp
,
-1._xp
/
24._xp
/)
!
fd4 odd to even
stencil
(/
1._xp
/
24._xp
,
-9._xp
/
8._xp
,
9._xp
/
8._xp
,
-1._xp
/
24._xp
/)
!
1st derivative, 4th order, even to odd
stencil
REAL
(
xp
),
dimension
(
-2
:
2
)
::
dz2_usu
=
&
(/
-1._xp
/
12._xp
,
4._xp
/
3._xp
,
-5._xp
/
2._xp
,
4._xp
/
3._xp
,
-1._xp
/
12._xp
/)
! 2
th
derivative, 4th order (for parallel hypdiff)
(/
-1._xp
/
12._xp
,
4._xp
/
3._xp
,
-5._xp
/
2._xp
,
4._xp
/
3._xp
,
-1._xp
/
12._xp
/)
! 2
nd
derivative, 4th order (for parallel hypdiff)
REAL
(
xp
),
dimension
(
-2
:
2
)
::
dz4_usu
=
&
(/
1._xp
,
-4._xp
,
6._xp
,
-4._xp
,
1._xp
/)
! 4th derivative, 2nd order (for parallel hypdiff)
REAL
(
xp
),
dimension
(
-2
:
1
)
::
iz_o2e
=
&
...
...
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