Skip to content

Fixed the minimal SPH hydro version

Matthieu Schaller requested to merge fix_minimal into master

Fix to #148 (closed). The code now runs without segfaulting when using the minimal SPH hydro code. Results are not great (by design) as the model is really poor (but simple).

Changes are:

  • A missing initialisation in engine_init_particles().
  • A mistake in the calculation of the du/dt term.

Merge request reports