Commit 34684b32 authored by BRAMAS Berenger's avatar BRAMAS Berenger
Browse files
parents dace132b 27b6029c
......@@ -179,7 +179,9 @@ public:
// Copy data
for(unsigned idxAttribute = 0 ; idxAttribute < NbSymbAttributes+NbAttributesPerParticle ; ++idxAttribute){
#ifndef SCALFMM_SIMGRID_NODATA
attributes[idxAttribute][destPartIdx] = particles->getAttribute(idxAttribute)[srcPartIdx];
#endif
}
}
......
......@@ -220,12 +220,20 @@ public:
/** Give access to the buffer to send the data */
LocalCellClass* getRawLocalBuffer(){
#ifndef SCALFMM_SIMGRID_NODATA
return cellLocals;
#else
return nullptr;
#endif
}
/** Give access to the buffer to send the data */
const LocalCellClass* getRawLocalBuffer() const{
#ifndef SCALFMM_SIMGRID_NODATA
return cellLocals;
#else
return nullptr;
#endif
}
/** The the size of the allocated buffer */
......@@ -376,7 +384,7 @@ public:
#ifndef SCALFMM_SIMGRID_NODATA
&cellMultipoles[idxCellPtr], &cellLocals[idxCellPtr]),
#else
nullptr, nullptr,
nullptr, nullptr),
#endif
args...);
}
......
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