Draft: Add magma2 SPH scheme
-
Review changes -
-
Download -
Patches
-
Plain diff
I just added the MAGMA2 scheme in the branch MAGMA2 and are there some advices for the future implementation?
I added the two extra profiles:
- hydro_iact_cosmo.h and hydro_iact_sphenix.h. One is added the cosmological term and another is using the sphenix's diffusion parameter.
- There is a parameter called h_crit in the runner_iact_force and runner_iact_nonsym_force , which is the inverse of the resolution eta. And everytime I just change the parameter manually
- Also for the matrix inversion, I just paste the function invert_dimension_by_dimension_matrixin swift, and it might need clear a bit and call the function instead
- And I just directly use constant viscosity and diffusion parameters into the function without define it in the hydro_parameter.h. It also might need to change a bit
- Last thing is MAGMA2 use the quadratically mid point reconstruction and it is also worth to test the linearly reconstruction. Since it may increases the computing effciency.
Edited by Matthieu Schaller
Merge request reports
Compare and
- version 3155e5924e
- version 3091f0ae2b
- version 29015baf80
- version 28eb7b7ee9
- version 27b3cc6c43
- version 263ccc532f
- version 25abba9dbf
- version 2452ba3ef8
- version 234fded3e3
- version 22d5fb771d
- version 21cd5a9d1a
- version 20e249acb3
- version 1910a97afe
- version 1845b32ad1
- version 17fcbd47d6
- version 16dcaea042
- version 156ed3b50b
- version 144f5bdb1c
- version 13fa5cd3d8
- version 12d9f3cfde
- version 11d015d58e
- version 10f1e72506
- version 9e2779b2d
- version 8e4de872a
- version 7e98ed7d7
- version 6fbb94021
- version 536b818e1
- version 4ee25f40e
- version 3189be751
- version 25279c958
- version 1fd252937
- master (base)
- latest versioned15c74136 commits,
- version 3155e5924e33 commits,
- version 3091f0ae2b32 commits,
- version 29015baf8031 commits,
- version 28eb7b7ee930 commits,
- version 27b3cc6c4328 commits,
- version 263ccc532f27 commits,
- version 25abba9dbf26 commits,
- version 2452ba3ef825 commits,
- version 234fded3e324 commits,
- version 22d5fb771d23 commits,
- version 21cd5a9d1a22 commits,
- version 20e249acb321 commits,
- version 1910a97afe20 commits,
- version 1845b32ad119 commits,
- version 17fcbd47d618 commits,
- version 16dcaea04217 commits,
- version 156ed3b50b16 commits,
- version 144f5bdb1c15 commits,
- version 13fa5cd3d814 commits,
- version 12d9f3cfde12 commits,
- version 11d015d58e11 commits,
- version 10f1e7250610 commits,
- version 9e2779b2d9 commits,
- version 8e4de872a8 commits,
- version 7e98ed7d77 commits,
- version 6fbb940216 commits,
- version 536b818e15 commits,
- version 4ee25f40e4 commits,
- version 3189be7513 commits,
- version 25279c9582 commits,
- version 1fd2529371 commit,
Compare changes
- Side-by-side
- Inline
Files
20Loading