mirror of
https://github.com/OPM/opm-simulators.git
synced 2026-10-25 07:07:42 -05:00
fix for crash when cleaning up damaris mesh offset variable due to shared memory buffer being size off by one
This commit is contained in:
1 parent
ff8372bc40
commit
5e66b07255
1 file changed
+1
-1
@@ -419,7 +419,7 @@ private:
|
||||
DamarisVarInt var_connectivity(1, {std::string("n_connectivity_ph")}, std::string("topologies/topo/elements/connectivity"), rank_) ;
|
||||
var_connectivity.setDamarisParameterAndShmem({ geomData.getNCorners()}) ;
|
||||
DamarisVarInt var_offsets(1, {std::string("n_offsets_types_ph")}, std::string("topologies/topo/elements/offsets"), rank_) ;
|
||||
var_offsets.setDamarisParameterAndShmem({ geomData.getNCells()}) ;
|
||||
var_offsets.setDamarisParameterAndShmem({ geomData.getNCells()+1}) ;
|
||||
DamarisVarChar var_types(1, {std::string("n_offsets_types_ph")}, std::string("topologies/topo/elements/types"), rank_) ;
|
||||
var_types.setDamarisParameterAndShmem({ geomData.getNCells()}) ;
|
||||
|
||||
|
||||
Reference in new issue
Block a user