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
a32711b6
Commit
a32711b6
authored
Jul 01, 2014
by
COULAUD Olivier
Browse files
Remove Particles writes
parent
e4486641
Changes
1
Hide whitespace changes
Inline
Side-by-side
Examples/DirectComputation.cpp
View file @
a32711b6
...
...
@@ -101,8 +101,8 @@ int main(int argc, char ** argv){
loader
.
fillParticle
(
particles
[
idx
].
getPtrFirstData
(),
particles
[
idx
].
getReadDataNumber
());
// loader.fillParticle(particles[idx].getPtrFirstData(), nbDataToRead); // OK
// loader.fillParticle(particles[idx]); // OK
std
::
cout
<<
idx
<<
" "
<<
particles
[
idx
].
getPosition
()
<<
" "
<<
particles
[
idx
].
getPhysicalValue
()
<<
" "
<<
particles
[
idx
].
getPotential
()
<<
" "
<<
particles
[
idx
].
getForces
()[
0
]
<<
" "
<<
particles
[
idx
].
getForces
()[
1
]
<<
" "
<<
particles
[
idx
].
getForces
()[
2
]
<<
" "
<<
std
::
endl
;
//
std::cout << idx <<" "<< particles[idx].getPosition() << " "<<particles[idx].getPhysicalValue() << " "<<particles[idx].getPotential()
//
<<" " << particles[idx].getForces()[0]<<" " <<particles[idx].getForces()[1]<<" " <<particles[idx].getForces()[2]<<" " <<std::endl;
//
totalCharge
+=
particles
[
idx
].
getPhysicalValue
()
;
}
...
...
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