Commit b44b1753 authored by COULAUD Olivier's avatar COULAUD Olivier
Browse files

Minor changes

parent 63673532
...@@ -18,7 +18,7 @@ ...@@ -18,7 +18,7 @@
#include <sstream> #include <sstream>
#include <iostream> #include <iostream>
#include <cstring> //#include <cstring>
/** This file proposes some methods /** This file proposes some methods
* to work with user input parameters. * to work with user input parameters.
......
...@@ -103,12 +103,12 @@ int main(int argc, char* argv[]) ...@@ -103,12 +103,12 @@ int main(int argc, char* argv[])
FReal physicalValue = 0.0; FReal physicalValue = 0.0;
loader.fillParticle(&position,&physicalValue); loader.fillParticle(&position,&physicalValue);
// get copy // get copy
particles[idxPart].position = position; particles[idxPart].position = position;
particles[idxPart].physicalValue = physicalValue; particles[idxPart].physicalValue = physicalValue;
particles[idxPart].potential = 0.0; particles[idxPart].potential = 0.0;
particles[idxPart].forces[0] = 0.0; particles[idxPart].forces[0] = 0.0;
particles[idxPart].forces[1] = 0.0; particles[idxPart].forces[1] = 0.0;
particles[idxPart].forces[2] = 0.0; particles[idxPart].forces[2] = 0.0;
} }
time.tic(); time.tic();
{ {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment