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
b8cac33d
Commit
b8cac33d
authored
Sep 18, 2014
by
BRAMAS Berenger
Browse files
Do not set to zero inside the P2M
parent
13e463b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Src/Kernels/Chebyshev/FChebInterpolator.hpp
View file @
b8cac33d
...
...
@@ -638,7 +638,7 @@ inline void FChebInterpolator<ORDER,MatrixKernelClass>::applyP2M(const FPoint& c
const
ContainerClass
*
const
inParticles
)
const
{
// set all multipole expansions to zero
FBlas
::
setzero
(
2
*
nRhs
*
nnodes
,
multipoleExpansion
);
// Should not be set to zero here (TODO remove this line)
FBlas::setzero(2*nRhs*nnodes, multipoleExpansion);
// allocate stuff
const
map_glob_loc
map
(
center
,
width
);
...
...
Src/Kernels/Uniform/FUnifInterpolator.hpp
View file @
b8cac33d
...
...
@@ -416,7 +416,7 @@ inline void FUnifInterpolator<ORDER,MatrixKernelClass>::applyP2M(const FPoint& c
const
ContainerClass
*
const
inParticles
)
const
{
// set all multipole expansions to zero
FBlas
::
setzero
(
nRhs
*
nnodes
,
multipoleExpansion
);
// Should not be set to zero here (TODO remove this line)
FBlas::setzero(nRhs*nnodes, multipoleExpansion);
// allocate stuff
const
map_glob_loc
map
(
center
,
width
);
...
...
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