Commit b44b1753 authored by COULAUD Olivier's avatar COULAUD Olivier

Minor changes

parent 63673532
......@@ -18,7 +18,7 @@
#include <sstream>
#include <iostream>
#include <cstring>
//#include <cstring>
/** This file proposes some methods
* to work with user input parameters.
......
......@@ -103,12 +103,12 @@ int main(int argc, char* argv[])
FReal physicalValue = 0.0;
loader.fillParticle(&position,&physicalValue);
// get copy
particles[idxPart].position = position;
particles[idxPart].physicalValue = physicalValue;
particles[idxPart].potential = 0.0;
particles[idxPart].forces[0] = 0.0;
particles[idxPart].forces[1] = 0.0;
particles[idxPart].forces[2] = 0.0;
particles[idxPart].position = position;
particles[idxPart].physicalValue = physicalValue;
particles[idxPart].potential = 0.0;
particles[idxPart].forces[0] = 0.0;
particles[idxPart].forces[1] = 0.0;
particles[idxPart].forces[2] = 0.0;
}
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