Skip to content
Snippets Groups Projects
Commit ec1ad9f0 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Fixed test_125 for initial self-gravity merge

parent d44fbb02
No related branches found
No related tags found
2 merge requests!216Hydrodynamics in 2D + New test cases,!214Initialisation fixes
...@@ -447,12 +447,16 @@ int main(int argc, char *argv[]) { ...@@ -447,12 +447,16 @@ int main(int argc, char *argv[]) {
space.periodic = 0; space.periodic = 0;
space.h_max = h; space.h_max = h;
struct phys_const pc;
pc.const_newton_G = 1.f;
struct hydro_props hp; struct hydro_props hp;
hp.target_neighbours = h * h * h * kernel_norm; hp.target_neighbours = h * h * h * kernel_norm;
hp.delta_neighbours = 1.; hp.delta_neighbours = 1.;
hp.max_smoothing_iterations = 1; hp.max_smoothing_iterations = 1;
struct engine engine; struct engine engine;
engine.physical_constants = &pc;
engine.hydro_properties = &hp; engine.hydro_properties = &hp;
engine.s = &space; engine.s = &space;
engine.time = 0.1f; engine.time = 0.1f;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment