Commit 92aa26eb authored by PIACIBELLO Cyrille's avatar PIACIBELLO Cyrille

Minor changes to the GetCell method in order to compile with Intel

parent 9a09208c
......@@ -49,7 +49,7 @@ protected:
* @brief GetSize returns the size of the current block (in order to prepare the buffer)
* @return
*/
static int GetSize(){
static constexpr int GetSize(){
return 0;
}
......
......@@ -76,7 +76,7 @@ public:
buffer >> dataDown >> dataUp;
}
static size_t GetSize(){
static constexpr int GetSize(){
return sizeof(long long int)*2;
}
......
......@@ -113,7 +113,7 @@ public:
buffer.fillArray(local_exp, VectorSize*NVALS*NLHS);
}
static int GetSize(){
static constexpr int GetSize(){
return sizeof(FReal) * VectorSize*(NRHS+NLHS)*NVALS;
}
......
......@@ -144,7 +144,7 @@ public:
buffer.fillArray(multipole_exp, MultipoleSize);
buffer.fillArray(local_exp, LocalSize);
}
static int GetSize(){
static constexpr int GetSize(){
return ((int) sizeof(FComplexe)) * (MultipoleSize + LocalSize);
}
};
......
......@@ -152,7 +152,7 @@ public:
buffer.fillArray(local_exp, LocalSize);
}
static int GetSize(){
static constexpr int GetSize(){
return (int) sizeof(FComplexe) * (PoleSize+LocalSize);
}
};
......
......@@ -166,7 +166,7 @@ public:
buffer.fillArray(transformed_local_exp, TransformedVectorSize*NVALS*NLHS);
}
static int GetSize(){
static constexpr int GetSize(){
return (NRHS+NLHS)*NVALS*VectorSize * (int) sizeof(FReal) + (NRHS+NLHS)*NVALS*TransformedVectorSize * (int) sizeof(FComplexe);
}
......
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