Commit 7e00bf01 authored by COULAUD Olivier's avatar COULAUD Olivier

Compitation ans make test works with GCC 7.2, Ope,MP 3.0.0 ans atrpu 1.2.3

parent a0b5f5ea
......@@ -648,10 +648,10 @@ protected:
ContainerClass* taskParticlesTgt = octreeIterator.getCurrentListTargets();
ContainerClass* taskParticlesSrc = octreeIterator.getCurrentListSrc();
const FTreeCoordinate coord = octreeIterator.getCurrentGlobalCoordinate();
#ifdef OPENMP_SUPPORT_PRIORITY
bool p2pIsBig = taskParticlesTgt->getNbParticles() > static_cast<FSize>(double(p2pPrioCriteria)*1.1);
Omp4_Priorities prio= p2pIsBig ? Omp4_Priorities::P2P_Big :Omp4_Priorities::P2P_Small ;
#endif
switch(counter){
case 0:
if(taskParticlesTgt == taskParticlesSrc){
......
......@@ -410,7 +410,7 @@ int main(int argc, char ** argv){
for(FSize idxPart = 0 ; idxPart < nbPartsForMe ; ++idxPart){
const bool isSource = idxPart&1;
realTree.insert(allParticles[idxPart],
isSource? FParticleType::FParticleTypeSource: FParticleType::FParticleTypeTarget);
isSource? FParticleType::source: FParticleType::target);
if(isSource){
totalNbSources += 1;
}
......@@ -431,7 +431,7 @@ int main(int argc, char ** argv){
for(FSize idxPart = 0 ; idxPart < nbParticles ; ++idxPart){
bool isSource = idxPart&1;
treeValide.insert(allParticles[idxPart],
isSource? FParticleType::FParticleTypeSource: FParticleType::FParticleTypeTarget);
isSource? FParticleType::source: FParticleType::target);
}
}
......
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