Skip to content
Snippets Groups Projects
Commit 15ff3b4e authored by Mladen Ivkovic's avatar Mladen Ivkovic Committed by Matthieu Schaller
Browse files

Minor rt fixes

parent 9f7ccaeb
No related branches found
No related tags found
4 merge requests!2180Mhd canvas into MHD_FS,!2165Merge master,!2112Prep for remix merge,!2110Minor rt fixes
...@@ -33,6 +33,7 @@ SPH: ...@@ -33,6 +33,7 @@ SPH:
resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel). resolution_eta: 1.2348 # Target smoothing length in units of the mean inter-particle separation (1.2348 == 48Ngbs with the cubic spline kernel).
CFL_condition: 0.6 # Courant-Friedrich-Levy condition for time integration. CFL_condition: 0.6 # Courant-Friedrich-Levy condition for time integration.
minimal_temperature: 10. # Kelvin minimal_temperature: 10. # Kelvin
h_max: 45.
# Parameters related to the initial conditions # Parameters related to the initial conditions
InitialConditions: InitialConditions:
......
...@@ -97,7 +97,7 @@ runner_iact_nonsym_rt_injection_prep(const float r2, const float dx[3], ...@@ -97,7 +97,7 @@ runner_iact_nonsym_rt_injection_prep(const float r2, const float dx[3],
* @param rt_props Properties of the RT scheme. * @param rt_props Properties of the RT scheme.
*/ */
__attribute__((always_inline)) INLINE static void runner_iact_rt_inject( __attribute__((always_inline)) INLINE static void runner_iact_rt_inject(
const float r2, float dx[3], const float hi, const float hj, const float r2, const float dx[3], const float hi, const float hj,
struct spart *restrict si, struct part *restrict pj, const float a, struct spart *restrict si, struct part *restrict pj, const float a,
const float H, const struct rt_props *rt_props) { const float H, const struct rt_props *rt_props) {
......
...@@ -100,7 +100,7 @@ runner_iact_nonsym_rt_injection_prep(const float r2, const float dx[3], ...@@ -100,7 +100,7 @@ runner_iact_nonsym_rt_injection_prep(const float r2, const float dx[3],
* @param rt_props Properties of the RT scheme. * @param rt_props Properties of the RT scheme.
*/ */
__attribute__((always_inline)) INLINE static void runner_iact_rt_inject( __attribute__((always_inline)) INLINE static void runner_iact_rt_inject(
const float r2, float dx[3], const float hi, const float hj, const float r2, const float dx[3], const float hi, const float hj,
struct spart *restrict si, struct part *restrict pj, const float a, struct spart *restrict si, struct part *restrict pj, const float a,
const float H, const struct rt_props *rt_props) { const float H, const struct rt_props *rt_props) {
......
...@@ -66,7 +66,7 @@ runner_iact_nonsym_rt_injection_prep(const float r2, const float dx[3], ...@@ -66,7 +66,7 @@ runner_iact_nonsym_rt_injection_prep(const float r2, const float dx[3],
* @param rt_props Properties of the RT scheme. * @param rt_props Properties of the RT scheme.
*/ */
__attribute__((always_inline)) INLINE static void runner_iact_rt_inject( __attribute__((always_inline)) INLINE static void runner_iact_rt_inject(
const float r2, float dx[3], const float hi, const float hj, const float r2, const float dx[3], const float hi, const float hj,
struct spart *restrict si, struct part *restrict pj, const float a, struct spart *restrict si, struct part *restrict pj, const float a,
const float H, const struct rt_props *rt_props) { const float H, const struct rt_props *rt_props) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment