piernik-dev / piernik

Piernik MHD Code
GNU General Public License v3.0
15 stars 15 forks source link

0-dimensional simulations #506

Closed gawrysz closed 1 year ago

gawrysz commented 2 years ago

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:

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.