SBSNeighborSearchParticleSystemGridPBC without PBC

Description

Constructor for SBSNeighborSearchParticleSystemGridPBC does not throw an error when created without PBC set up (and the object is not nullptr). It only prints the next error into a terminal: "PBC function called without PBC".

Therefore, there is no way to know if an object was properly created or not. And calling 'initializeNeighborLists' for such object make SAMSON crash.

Environment

None

Status

Assignee

Stephane Redon

Reporter

Dmitriy Marin

Labels

None

Components

Priority

Minor