python-hydro / pyro2

A framework for hydrodynamics explorations and prototyping
https://python-hydro.github.io/pyro2
BSD 3-Clause "New" or "Revised" License
304 stars 124 forks source link

have each problem setup define its default parameters / inputs #223

Closed zingale closed 2 months ago

zingale commented 2 months ago

We should not have to provide an inputs file for a problem setup, but rather, the problem's should specify the default inputs file to use, if none is provided, via a global in the problem initial conditions module, like:

DEFAULT_INPUTS = "inputs.rt"

This makes it easier to use pyro in Jupyter, since we don't need to pass an inputs file in if we do not want to modify anything.

zingale commented 2 months ago

done in #225