Commit 03707989 authored by COULAUD Olivier's avatar COULAUD Olivier

Indentation + Initialization

parent 8a8357e3
......@@ -90,6 +90,9 @@ public:
FAbstractAlgorithm::setNbLevelsInTree(tree->getHeight());
for(int idxShape = 0 ; idxShape < SizeShape ; ++idxShape){
this->shapeLeaf[idxShape] = 0;
}
FLOG(FLog::Controller << "FFmmAlgorithmThread (Max Thread " << omp_get_max_threads() << ")\n");
FLOG(FLog::Controller << "\t static schedule " << (userChunkSize == -1 ? "static" : (userChunkSize == 0 ? "N/p^2" : std::to_string(userChunkSize))) << ")\n");
}
......
......@@ -47,8 +47,9 @@ class FInterpSymmetries
unsigned int cones[8][nnodes];
// set quads and cones permutations
unsigned int evn[ORDER]; unsigned int odd[ORDER];
for (unsigned int o=0; o<ORDER; ++o) {evn[o] = o; odd[o] = ORDER-1 - o;}
unsigned int evn[ORDER], odd[ORDER];
for (unsigned int o=0; o<ORDER; ++o)
{evn[o] = o; odd[o] = ORDER-1 - o;}
for (unsigned int i=0; i<ORDER; ++i) {
for (unsigned int j=0; j<ORDER; ++j) {
......
......@@ -40,7 +40,7 @@ static void Compute(const MatrixKernelClass *const MatrixKernel, const FReal Cel
TensorType::setRoots(FPoint<FReal>(0.,0.,0.), CellWidth, X);
// allocate memory and compute 316 m2l operators (342 if separation equals 0, 343 if separation equals -1)
FReal *_C;
FReal *_C;
FComplex<FReal> *_FC;
// reduce storage from nnodes^2=order^6 to (2order-1)^3
......
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