Commit c6ee6887 authored by incardon's avatar incardon
Browse files

Fixing SparseGridGPU serialization

parent be54c026
Pipeline #4258 failed with stages
in 7 minutes and 55 seconds
......@@ -2829,7 +2829,13 @@ public:
//Functions to check if the packing object is complex
static bool pack()
{
return false;
return true;
}
//Functions to check if the packing object is complex
static bool packRequest()
{
return true;
}
/*! \brief Asking to pack a SparseGrid GPU without GPU context pack the grid on CPU and host memory
......
......@@ -1006,6 +1006,18 @@ public:
return base_type::get(id);
}
/*! \brief Get an element of the vector
*
* \param id element to get
*
* \return the element reference
*
*/
inline T & operator[](size_t id)
{
return base_type::get(id);
}
/*! \brief Get an element of the vector
*
* \param id element to get
......
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