- 20 Apr, 2016 4 commits
-
-
James Willis authored
-
James Willis authored
-
James Willis authored
-
James Willis authored
-
- 18 Apr, 2016 5 commits
-
-
Matthieu Schaller authored
Recover : for y command-line parameter and update task plotting scripts for external gravity Fixes a problem from the parameter files branch and updates the plotting scripts for external gravity. See merge request !149
-
Peter W. Draper authored
-
Peter W. Draper authored
Initialise the entropy only once. Exactly what is says on the tin. See merge request !148
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
- 14 Apr, 2016 3 commits
-
-
Peter W. Draper authored
-
Peter W. Draper authored
Gravity particles Ok, that's another big one... This includes all the changes by @tt and @jregan regarding the use of an external potential. The main changes are: - Update to the `unit` with some more const statements. - Addition of a set of physical constants and of an object to convert them in the chosen system of units. - A new external gravity task and its dependencies. - This task calls functions in a new file `potential.h` where users can define their external potentials. - A new test case that just makes a bunch of particles orbit a point mass. See merge request !143
-
Peter W. Draper authored
-
- 13 Apr, 2016 3 commits
-
-
Pedro Gonnet authored
-
Peter W. Draper authored
-
Matthieu Schaller authored
-
- 12 Apr, 2016 13 commits
-
-
Matthieu Schaller authored
Pasc paper Please let me know as soon as possible if these changes sufficiently cover the two comments, and if you are OK with the wording. Your changes from `pasc_paper_final` (!146) have been merged into this branch because I suck at git. See merge request !147
-
Pedro Gonnet authored
-
Pedro Gonnet authored
-
Pedro Gonnet authored
-
Pedro Gonnet authored
-
Pedro Gonnet authored
-
Pedro Gonnet authored
-
Pedro Gonnet authored
-
Pedro Gonnet authored
-
Peter W. Draper authored
x_old is now a x_diff since the last tree build. It is also implemented for the gparts. Two changes here following the discussion in #122: - `x_old` is replaced by `x_diff`, i.e. the offset since the last tree-build. That makes the drift task a bit strange as they have to move `x` in one direction and `x_diff` in the other. - The `gpart` structure also gains an `x_old` field. This is necessary for the cases where we only have gparts and no parts. If we don't do this, the tree reconstruction is never triggered in `engine_marktask()`. A neat consequence is that we can store `x_diff` as float and not as double. So the `xpart` structure goes down to 32bytes in size (after alignment). See merge request !145
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
- 11 Apr, 2016 5 commits
-
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Peter W. Draper authored
Conflicts: examples/main.c src/engine.c src/engine.h Use of threads as command-line option.
-
- 10 Apr, 2016 1 commit
-
-
Matthieu Schaller authored
-
- 08 Apr, 2016 6 commits
-
-
Matthieu Schaller authored
-
Peter W. Draper authored
Made the number of threads a command-line parameter again. I have restored the `-t` command-line parameter and removed the parameter from all the yaml files. I have also updated the run.sh scripts with a default value of 16. That fixes #144 and the branch can be removed if you are happy with the changes. Thanks ! See merge request !144
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-
Matthieu Schaller authored
-