Precomputing dimension-dependent parameters for routines that are called only for existing dimensions.
Unexpected logical flaws :-)
It is strongly recommended to use F90FLAGS += -ffpe-trap=invalid,zero,overflow when you test 0-dimensional setups. It may help to spot problematic places.
In order to make Piernik compatible with 0-dimensional setups we need to create a new Jenkins test that will do something sensible. Without that we may easily overlook something.
An attempt to remove obstacles when the simulation is 0-dimensional (consists of single cell).
Such config may be useful for fast evolving CR spectrum, cooling prescriptions or even particles.
Typical pitfalls are:
1 / dom%eff_dim
.product(something(:), mask = dom%has_dir(:))
.It is strongly recommended to use
F90FLAGS += -ffpe-trap=invalid,zero,overflow
when you test 0-dimensional setups. It may help to spot problematic places.In order to make Piernik compatible with 0-dimensional setups we need to create a new Jenkins test that will do something sensible. Without that we may easily overlook something.