- 14 Apr, 2017 1 commit
-
-
James Willis authored
-
- 07 Apr, 2017 2 commits
-
-
James Willis authored
Merge branch 'dopair-vectorisation-merge' of gitlab.cosma.dur.ac.uk:swift/swiftsim into dopair-vectorisation-merge
-
James Willis authored
Check if there are any active particles within interaction distance and return if there are not. Only populate the cache from the first particle in a cell that interacts*and* is also active.
-
- 01 Apr, 2017 11 commits
-
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
Moved the sorting entry structure to a separate file following @jwillis' work in the vectorisation branch.
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
Voronoi tests work now. I think I added all missing files used by `SHADOWFAX_SPH` and `GIZMO_SPH` to `Makefile.am`. I have also introduced a tolerance for geometric tests in the 2D Voronoi algorithm, which fixes round off issues that caused `testVoronoi2D` to fail if compiled with optimizations enabled. This fixes #282. See merge request !325
-
- 31 Mar, 2017 2 commits
-
-
Peter W. Draper authored
Gravity multi dt This fully implements self-gravity bar the periodic task over MPI. Could you please check that is does not break anything on the hydro side ? If you are interested in running with self-gravity I'd recommend using the updated EAGLE_12 case and run with `-D -G`. My next steps is to work on the formal requirement of using `-D` alongside the `-G`. I also need to finish working out the automated scripts to generate code for the higher-order multipoles but that is orthogonal to the integration of the code into the master. See merge request !324
-
Bert Vandenbroucke authored
Added missing SHADOWFAX_SPH and GIZMO_SPH files to src/Makefile.am. Removed unused counter from riemann_solve_brent().
-
- 30 Mar, 2017 1 commit
-
-
Matthieu Schaller authored
-
- 24 Mar, 2017 8 commits
-
-
Bert Vandenbroucke authored
Introduced a tolerance for the 2D Voronoi algorithm to handle round off problems. The 2D Voronoi test now works for both the optimized and the non-optimized version of the code.
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
- 23 Mar, 2017 5 commits
-
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
1D and 2D moving mesh algorithm I have added a new hydro scheme, `SHADOWFAX_SPH`, that uses a finite volume method on a moving mesh. The scheme is very similar to `GIZMO_SPH`, except that during the density loop an actual Voronoi cell is constructed for every particle, which is then used to get a volume to update the primitive quantities, and faces through which fluxes are exchanged. There are also some small changes in the way gradients are computed, and in the way the velocity of the particles is set. The Voronoi cell construction is completely different for 1D, 2D, and 3D, and currently only 1D and 2D have a stable implementation. 3D should compile, but does not produce reliable results (yet). However, I think it would be good to merge this in already, to prevent it from drifting too far apart from `master`. The current implementation is hydro only, but it should be very straightforward to add gravity, similarly to the way it is done in `GIZMO_SPH`. Below the results for the 2D Sod shock and Sedov blast test (the noise on the density is caused by the fact that the initial conditions contain mass and not density). The 2D Noh test crashes because of time stepping issues; I think we really need a time step limiter to make it work properly.   See merge request !321
-
- 22 Mar, 2017 1 commit
-
-
Matthieu Schaller authored
-
- 21 Mar, 2017 1 commit
-
-
Bert Vandenbroucke authored
Added some more comments to 3D algorithm, and fixed a bug that affected some of the degenerate cases.
-
- 20 Mar, 2017 3 commits
-
-
Bert Vandenbroucke authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
- 19 Mar, 2017 1 commit
-
-
James Willis authored
-
- 18 Mar, 2017 1 commit
-
-
Matthieu Schaller authored
Autotools update Attempt to handle the case when HDF5 is available from the environment (CPPFLAGS, LIBS etc.) but no h5cc or h5pcc commands are available. See merge request !322
-
- 17 Mar, 2017 3 commits
-
-
Bert Vandenbroucke authored
-
Bert Vandenbroucke authored
Replaced global variables by a new hydro_space struct that is part of space. This struct is then passed on to hydro_init_part, and used to initialize the Voronoi cells. For non SHADOWFAX_SPH schemes, this struct is empty. Replaced random_uniform declarations in some unit tests with the tools.h version. Added some more comments to 3D Voronoi code; it is now almost completely documented (meaning I almost completely understand it now).
-
James Willis authored
-