Fix shifted periodicity
This merge request deals with two issues of the shifted periodicity:
- The former version only supported domains that start at
(0, 0, 0)
, which is not the case when creating the domain based on geometry files. The problem occurred in the conversion fromAABB
toCellInterval
. - The correct periodicity of the domain was enforced in the constructor, i.e., during the creation of the shifted periodicity object. In cases where the object is created but not used (if the user can dynamically switch between shifted periodicity and normal periodicity or other boundary conditions), the constructor does not allow other periodicity setups. The periodicity check was moved in the set-up phase, so it is only performed if the shifted periodicity is actually applied.