Commit 170efb9e authored by BRAMAS Berenger's avatar BRAMAS Berenger

Add no const accessor to multipole and local data inside the group of cells

parent c11b93f9
......@@ -177,11 +177,21 @@ public:
return cellMultipoles;
}
/** Give access to the buffer to send the data */
PoleCellClass* getRawMultipoleBuffer() {
return cellMultipoles;
}
/** The the size of the allocated buffer */
int getMultipoleBufferSizeInByte() const {
return sizeof(PoleCellClass)*blockHeader->numberOfCellsInBlock;
}
/** Give access to the buffer to send the data */
LocalCellClass* getRawLocalBuffer(){
return cellLocals;
}
/** Give access to the buffer to send the data */
const LocalCellClass* getRawLocalBuffer() const{
return cellLocals;
......
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