Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Thomas Jahns
PPM
Commits
b640c79d
Commit
b640c79d
authored
Jul 30, 2020
by
Thomas Jahns
🤸
Browse files
Fix bug in handling of first element.
parent
7bf866a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/ppm/ppm_m1d.f90
View file @
b640c79d
...
...
@@ -319,7 +319,8 @@ CONTAINS
CALL
assertion
(
np
==
SIZE
(
em
),
msg
=
context
//
': np /= SIZE(em)'
)
IF
(
pload
(
1
)
<
0.0_dp
)
THEN
DO
ip
=
1
,
np
pload
(
1
)
=
SUM
(
wload
(
1
:
em
(
1
)))
DO
ip
=
2
,
np
pload
(
ip
)
=
SUM
(
wload
(
em
(
ip
-1
)
+1
:
em
(
ip
)))
ENDDO
ENDIF
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment