Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
4
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
A
afivo
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
MD-CWI-NL
afivo
Commits
b80e4dd8
Commit
b80e4dd8
authored
Apr 08, 2020
by
Jannis Teunissen
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix OpenMP private variable in flux_update_densities
parent
cf3c730f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
src/m_af_flux_schemes.f90
src/m_af_flux_schemes.f90
+2
-3
No files found.
src/m_af_flux_schemes.f90
View file @
b80e4dd8
...
...
@@ -230,13 +230,12 @@ contains
integer
,
intent
(
in
)
::
s_out
!< Output time state
integer
::
lvl
,
n
,
id
,
IJK
,
nc
real
(
dp
)
::
dt_dr
(
NDIM
)
#if NDIM == 2
real
(
dp
)
::
rfac
(
2
,
tree
%
n_cell
)
#endif
nc
=
tree
%
n_cell
rfac
=
0.0_dp
! Prevent warnings in 3D
!$omp parallel private(lvl, n, id, IJK, dt_dr)
!$omp parallel private(lvl, n, id, IJK, dt_dr
, rfac
)
do
lvl
=
1
,
tree
%
highest_lvl
!$omp do
do
n
=
1
,
size
(
tree
%
lvls
(
lvl
)
%
leaves
)
...
...
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