Commit d82e00d6 authored by Luka Stanisic's avatar Luka Stanisic
Browse files

fixing avoid alloc for simgrid

parent 48c0856a
......@@ -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