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
3a8d34ff
Commit
3a8d34ff
authored
3 years ago
by
Antoine Cyril David Hoffmann
Browse files
Options
Downloads
Patches
Plain Diff
variable flag COMPUTE_ONLY_EVEN_P renamed
parent
6474c348
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/compute_Sapj.F90
+3
-3
3 additions, 3 deletions
src/compute_Sapj.F90
with
3 additions
and
3 deletions
src/compute_Sapj.F90
+
3
−
3
View file @
3a8d34ff
...
...
@@ -22,7 +22,7 @@ SUBROUTINE compute_Sapj
INTEGER
::
in
,
is
INTEGER
::
nmax
,
smax
! Upper bound of the sums
REAL
(
dp
)::
kr
,
kz
,
kerneln
LOGICAL
::
COMPUTE_ONLY_
ODD
_P
=
.true.
LOGICAL
::
COMPUTE_ONLY_
EVEN
_P
=
.true.
! Execution time start
CALL
cpu_time
(
t0_Sapj
)
...
...
@@ -30,7 +30,7 @@ SUBROUTINE compute_Sapj
ploope
:
DO
ip
=
ips_e
,
ipe_e
! Loop over Hermite moments
! we check if poly degree is even (eq to index is odd) to spare computation
IF
(
MODULO
(
ip
,
2
)
.EQ.
1
.OR.
(
.NOT.
COMPUTE_ONLY_
ODD
_P
))
THEN
IF
(
(
MODULO
(
ip
,
2
)
.EQ.
1
)
.OR.
(
.NOT.
COMPUTE_ONLY_
EVEN
_P
))
THEN
jloope
:
DO
ij
=
ijs_e
,
ije_e
! Loop over Laguerre moments
real_data_c
=
0._dp
! initialize sum over real nonlinear term
...
...
@@ -121,7 +121,7 @@ SUBROUTINE compute_Sapj
ploopi
:
DO
ip
=
ips_i
,
ipe_i
! Loop over Hermite moments
! we check if poly degree is even (eq to index is odd) to spare computation
IF
(
MODULO
(
ip
,
2
)
.EQ.
1
.OR.
(
.NOT.
COMPUTE_ONLY_
ODD
_P
))
THEN
IF
(
MODULO
(
ip
,
2
)
.EQ.
1
.OR.
(
.NOT.
COMPUTE_ONLY_
EVEN
_P
))
THEN
jloopi
:
DO
ij
=
ijs_i
,
ije_i
! Loop over Laguerre moments
real_data_c
=
0._dp
! initialize sum over real nonlinear term
...
...
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