Skip to content
GitLab
Menu
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
e4486641
Commit
e4486641
authored
Jul 01, 2014
by
COULAUD Olivier
Browse files
Fix bug with new template<int READ, int WRITE> class FmaRWParticle in getPotential, getForces, ...
parent
774b98e1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Src/Files/FFmaGenericLoader.hpp
View file @
e4486641
...
...
@@ -76,7 +76,7 @@ public:
//Get a FReal from the potential
FReal
getPotential
()
const
{
FAssertLF
(
READ
>
4
,
"Cannot access to Potential with READ<=4"
);
FAssertLF
(
WRITE
>
4
,
"Cannot access to Potential with READ<=4"
);
return
data
[
4
];
}
...
...
@@ -88,7 +88,7 @@ public:
//Get a ptr to read the forces
FReal
*
getForces
()
{
FAssertLF
(
READ
>
7
,
"Cannot access to forces[] with READ<=8"
);
FAssertLF
(
WRITE
>
7
,
"Cannot access to forces[] with READ<=8"
);
return
&
data
[
5
];
}
...
...
Write
Preview
Supports
Markdown
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