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

Merge branch 'minor_rt_fixes' into 'master'

Minor rt fixes

Closes #912

See merge request !2110
parents 9f7ccaeb 15ff3b4e
No related branches found
No related tags found
2 merge requests!2112Prep for remix merge,!2110Minor rt fixes
......@@ -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).
CFL_condition: 0.6 # Courant-Friedrich-Levy condition for time integration.
minimal_temperature: 10. # Kelvin
h_max: 45.
# Parameters related to the initial conditions
InitialConditions:
......
......@@ -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.
*/
__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,
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],
* @param rt_props Properties of the RT scheme.
*/
__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,
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],
* @param rt_props Properties of the RT scheme.
*/
__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,
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 register or to comment