Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
ScalFMM
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
5
Issues
5
List
Boards
Labels
Service Desk
Milestones
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
solverstack
ScalFMM
Commits
b8cac33d
Commit
b8cac33d
authored
Sep 18, 2014
by
BRAMAS Berenger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Do not set to zero inside the P2M
parent
13e463b1
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
Src/Kernels/Chebyshev/FChebInterpolator.hpp
Src/Kernels/Chebyshev/FChebInterpolator.hpp
+1
-1
Src/Kernels/Uniform/FUnifInterpolator.hpp
Src/Kernels/Uniform/FUnifInterpolator.hpp
+1
-1
No files found.
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
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