Commit 9d132c52 authored by COULAUD Olivier's avatar COULAUD Olivier
parents f9e1567b cedfbfd4
This diff is collapsed.
......@@ -36,7 +36,7 @@
*
* Load a file with a format like :
* NB_particles Box_width Box_X Box_Y Box_Z // init
* X Y Z // one particle by line
* X Y Z PhysicalValue type // one particle by line
* ....
* @code
* FFmaTsmLoader<FBasicParticle> loader("../Adir/Tests/particles.basic.txt"); <br>
......@@ -136,7 +136,7 @@ public:
inParticlePositions->setPosition(x,y,z);
*inPhysicalValue = data;
if(isTarget) (*particleType) = FParticleType::FParticleTypeTarget;
else (*particleType) = FParticleType::FParticleTypeSource;
else (*particleType) = FParticleType::FParticleTypeSource;
}
};
......
......@@ -113,7 +113,7 @@ int main(int argc, char* argv[])
// init particles position and physical value
struct TestParticle{
FPoint<FReal> position;
FReal physicalValue;
FReal physicalValue;
const FPoint<FReal>& getPosition(){
return position;
}
......
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