Commit 2562b730 authored by COULAUD Olivier's avatar COULAUD Olivier

Fix typos

parent fab5b3cf
......@@ -40,7 +40,7 @@
* It used the inspector-executor model :
* iterates on the tree and builds an array to work in parallel on this array
*
* Of course this class does not deallocate pointer given in arguements.
* Of course this class does not deallocate pointer given in arguments.
*
* When using this algorithm the P2P is thread safe.
*/
......@@ -267,7 +267,7 @@ private:
}
/////////////////////////////////////////////////////////////////////////////
// Downard
// Downward
/////////////////////////////////////////////////////////////////////////////
void downardPass(){ // second L2L
......@@ -283,7 +283,7 @@ private:
typename OctreeClass::Iterator avoidGotoLeftIterator(octreeIterator);
const int heightMinusOne = OctreeHeight - 1;
// for each levels exepted leaf level
// for each levels excepted leaf level
for(int idxLevel = 2 ; idxLevel < heightMinusOne ; ++idxLevel ){
FLOG(FTic counterTimeLevel);
int numberOfCells = 0;
......@@ -373,8 +373,8 @@ private:
const int positionToWork = startPosAtShape[shapePosition]++;
omp_unset_lock(&lockShape[shapePosition]);
leafsDataArray[positionToWork].index = octreeIterator.getCurrentGlobalIndex();
leafsDataArray[positionToWork].cell = octreeIterator.getCurrentCell();
leafsDataArray[positionToWork].index = octreeIterator.getCurrentGlobalIndex();
leafsDataArray[positionToWork].cell = octreeIterator.getCurrentCell();
leafsDataArray[positionToWork].targets = octreeIterator.getCurrentListTargets();
leafsDataArray[positionToWork].sources = octreeIterator.getCurrentListSrc();
......@@ -418,8 +418,8 @@ private:
FLOG( FLog::Controller << "\tFinished (@Direct Pass (L2P + P2P) = " << counterTime.tacAndElapsed() << "s)\n" );
FLOG( FLog::Controller << "\t\t Computation L2P + P2P : " << computationCounter.cumulated() << " s\n" );
FLOG( FLog::Controller << "\t\t Computation P2P : " << computationCounterP2P.cumulated() << " s\n" );
FLOG( FLog::Controller << "\t\t Computation L2P + P2P : " << computationCounter.cumulated() << " s\n" );
FLOG( FLog::Controller << "\t\t Computation P2P : " << computationCounterP2P.cumulated() << " s\n" );
}
......
......@@ -19,7 +19,7 @@
#include <cstdio>
#include "FGlobal.hpp"
//#include "FGlobal.hpp"
#include "FNoCopyable.hpp"
#include "FMath.hpp"
......
......@@ -143,7 +143,7 @@ int main(int argc, char** argv){
}
});
std::cout << "Foces Sum x = " << fx << " y = " << fy << " z = " << fz << std::endl;
std::cout << "Forces Sum x = " << fx << " y = " << fy << " z = " << fz << std::endl;
std::cout << "Potential = " << potential << std::endl;
}
......
......@@ -211,7 +211,7 @@ int main(int argc, char ** argv){
std::cout << "To test between for NB PART different H for 3 accuracies\n\n";
std::cout << ">> -test-p [-p P] [-h H] [-nb NB PART] [-pv PHYSICAL VALUE]\n";
std::cout << "To test the time for a run of different nb particlues\n\n";
std::cout << "To test the time for a run of different nb particles\n\n";
}
const int NbParticles = FParameters::getValue(argc,argv,"-nb", 60000);
......
......@@ -64,7 +64,7 @@ int main(int argc, char ** argv){
///////////////////////What we do/////////////////////////////
std::cout << ">> This executable has to be used to test Spherical algorithm.\n";
std::cout << ">> options are -h H -sh SH -P p -per PER -f FILE -noper -verbose -gen -direct\n";
std::cout << ">> Recommanded files : ../Data/EwalTest_Periodic.run ../Data/EwalTest_NoPeriodic.run\n";
std::cout << ">> Recommended files : ../Data/EwalTest_Periodic.run ../Data/EwalTest_NoPeriodic.run\n";
//////////////////////////////////////////////////////////////
const int NbLevels = FParameters::getValue(argc,argv,"-h", 4);
......@@ -296,10 +296,10 @@ int main(int argc, char ** argv){
}
});
std::cout << "Foces Sum x = " << fx << " y = " << fy << " z = " << fz << std::endl;
std::cout << "Forces Sum x = " << fx << " y = " << fy << " z = " << fz << std::endl;
std::cout << "Potential = " << std::setprecision(8) << potential*coeff_MD/2 << std::endl;
std::cout << "Energy from file = " << std::setprecision(8) << loader.getEnergy() << std::endl;
// std::cout << "Constante DL_POLY: " << coeff_MD << std::endl;
// std::cout << "Constant DL_POLY: " << coeff_MD << std::endl;
}
// -----------------------------------------------------
......
......@@ -40,7 +40,7 @@
/** This program show an example of use of
* the fmm basic algo
* it also check that eachh particles is little or longer
* it also check that each particles is little or longer
* related that each other
*/
......@@ -147,7 +147,7 @@ int main(int argc, char ** argv){
}
});
std::cout << "Foces Sum x = " << fx << " y = " << fy << " z = " << fz << std::endl;
std::cout << "Forces Sum x = " << fx << " y = " << fy << " z = " << fz << std::endl;
std::cout << "Potential = " << potential << std::endl;
}
......
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