Mentions légales du service
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ScalFMM
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
solverstack
ScalFMM
Commits
1c600ab1
Commit
1c600ab1
authored
9 years ago
by
BRAMAS Berenger
Browse files
Options
Downloads
Patches
Plain Diff
make the level private in the task fmm
parent
72e759ba
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/Core/FFmmAlgorithmTask.hpp
+4
-4
4 additions, 4 deletions
Src/Core/FFmmAlgorithmTask.hpp
with
4 additions
and
4 deletions
Src/Core/FFmmAlgorithmTask.hpp
+
4
−
4
View file @
1c600ab1
...
...
@@ -185,7 +185,7 @@ protected:
do
{
// We need the current cell and the child
// child is an array (of 8 child) that may be null
#pragma omp task firstprivate(octreeIterator
) shared(
idxLevel)
#pragma omp task firstprivate(octreeIterator
,
idxLevel)
{
kernels
[
omp_get_thread_num
()]
->
M2M
(
octreeIterator
.
getCurrentCell
()
,
octreeIterator
.
getCurrentChild
(),
idxLevel
);
}
...
...
@@ -243,7 +243,7 @@ protected:
const
int
separationCriteria
=
(
idxLevel
!=
FAbstractAlgorithm
::
lowerWorkingLevel
-
1
?
1
:
leafLevelSeparationCriteria
);
// for each cell we apply the M2L with all cells in the implicit interaction list
do
{
#pragma omp task firstprivate(octreeIterator
) shared(
idxLevel)
#pragma omp task firstprivate(octreeIterator
,
idxLevel)
{
const
CellClass
*
neighbors
[
343
];
const
int
counter
=
tree
->
getInteractionNeighbors
(
neighbors
,
octreeIterator
.
getCurrentGlobalCoordinate
(),
idxLevel
,
separationCriteria
);
...
...
@@ -290,7 +290,7 @@ protected:
const
int
separationCriteria
=
(
idxLevel
!=
FAbstractAlgorithm
::
lowerWorkingLevel
-
1
?
1
:
leafLevelSeparationCriteria
);
// for each cells
do
{
#pragma omp task default(none) firstprivate(octreeIterator,separationCriteria
) shared(
idxLevel)
#pragma omp task default(none) firstprivate(octreeIterator,separationCriteria
,
idxLevel)
{
const
CellClass
*
neighbors
[
343
];
const
int
counter
=
tree
->
getInteractionNeighbors
(
neighbors
,
octreeIterator
.
getCurrentGlobalCoordinate
(),
idxLevel
,
separationCriteria
);
...
...
@@ -347,7 +347,7 @@ protected:
FLOG
(
FTic
counterTimeLevel
);
// for each cells
do
{
#pragma omp task firstprivate(octreeIterator
) shared(
idxLevel)
#pragma omp task firstprivate(octreeIterator
,
idxLevel)
{
kernels
[
omp_get_thread_num
()]
->
L2L
(
octreeIterator
.
getCurrentCell
()
,
octreeIterator
.
getCurrentChild
(),
idxLevel
);
}
...
...
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