Attention une mise à jour du serveur va être effectuée le lundi 17 mai entre 13h et 13h30. Cette mise à jour va générer une interruption du service de quelques minutes.

Commit 5d8461eb authored by COULAUD Olivier's avatar COULAUD Olivier

Fix typos

parent 9b55df2d
......@@ -16,7 +16,9 @@
#ifndef FFMMALGORITHMTHREADPROC_HPP
#define FFMMALGORITHMTHREADPROC_HPP
#include <omp.h>
//
#include "../Utils/FAssertable.hpp"
#include "../Utils/FLog.hpp"
#include "../Utils/FTrace.hpp"
......@@ -32,7 +34,6 @@
#include "../Utils/FMpi.hpp"
#include <omp.h>
#include "FCoreCommon.hpp"
......@@ -127,25 +128,6 @@ public:
FLOG(FLog::Controller << "FFmmAlgorithmThreadProc\n");
FLOG(FLog::Controller << "Max threads = " << MaxThreads << ", Procs = " << nbProcess << ", I am " << idProcess << ".\n");
}
FFmmAlgorithmThreadProc(const MPI_Comm& inComm, OctreeClass* const inTree, KernelClass* const inKernels)
: tree(inTree) , kernels(0), comm(inComm), iterArray(nullptr),numberOfLeafs(0),
MaxThreads(omp_get_max_threads()),
OctreeHeight(tree->getHeight()){
fassert(tree, "tree cannot be null", __LINE__, __FILE__);
nbProcess = comm.processCount() ;
idProcess = comm.processId() ;
intervals = new Interval[nbProcess] ;
workingIntervalsPerLevel = new Interval[nbProcess * tree->getHeight()] ;
//
this->kernels = new KernelClass*[MaxThreads];
for(int idxThread = 0 ; idxThread < MaxThreads ; ++idxThread){
this->kernels[idxThread] = new KernelClass(*inKernels);
}
FDEBUG(FDebug::Controller << "FFmmAlgorithmThreadProc\n");
FDEBUG(FDebug::Controller << "Max threads = " << MaxThreads << ", Procs = " << nbProcess << ", I am " << idProcess << ".\n");
}
/** Default destructor */
virtual ~FFmmAlgorithmThreadProc(){
for(int idxThread = 0 ; idxThread < MaxThreads ; ++idxThread){
......
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