Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
solverstack
ScalFMM
Commits
b74ac0c6
Commit
b74ac0c6
authored
Sep 19, 2014
by
BRAMAS Berenger
Browse files
correct the level used in M2P
parent
4b26d71b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Src/Adaptive/FAdaptiveKernelWrapper.hpp
View file @
b74ac0c6
...
...
@@ -145,7 +145,7 @@ public:
// If it is Adaptive and has not development than we compute is using P2M
for
(
int
idxLeaf
=
0
;
idxLeaf
<
child
[
idxChild
]
->
getNbSubLeaves
()
;
++
idxLeaf
){
kernel
.
P2M
(
pole
->
getRealCell
(),
inLevel
,
child
[
idxChild
]
->
getSubLeaf
(
idxLeaf
));
std
::
cout
<<
" P2M ("
<<
child
[
idxChild
]
->
getGlobalId
(
)
<<
","
<<
child
[
idxChild
]
->
getSubLeaf
(
idxLeaf
)
<<
")- "
;
std
::
cout
<<
" P2M ("
<<
child
[
idxChild
]
->
getGlobalId
(
)
<<
","
<<
child
[
idxChild
]
->
getSubLeaf
(
idxLeaf
)
<<
", level "
<<
inLevel
<<
")- "
;
}
}
}
...
...
@@ -164,7 +164,7 @@ public:
// Else we perform P2M
for
(
int
idxLeaf
=
0
;
idxLeaf
<
lowerAdaptiveCell
->
getNbSubLeaves
()
;
++
idxLeaf
){
kernel
.
P2M
(
pole
->
getRealCell
(),
inLevel
,
lowerAdaptiveCell
->
getSubLeaf
(
idxLeaf
));
std
::
cout
<<
" P2M ( "
<<
pole
->
getGlobalId
(
)
<<
"): "
;
std
::
cout
<<
" P2M ( "
<<
pole
->
getGlobalId
(
)
<<
" level "
<<
inLevel
<<
"): "
;
}
}
}
...
...
Write
Preview
Supports
Markdown
0%
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!
Cancel
Please
register
or
sign in
to comment