Skip to content
Snippets Groups Projects
Commit 52a62a3d authored by Folkert Nobels's avatar Folkert Nobels
Browse files

Update the EAGLE stars

parent e9b6f725
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
...@@ -38,3 +38,20 @@ runner_iact_nonsym_stars_density(float r2, const float *dx, float hi, float hj, ...@@ -38,3 +38,20 @@ runner_iact_nonsym_stars_density(float r2, const float *dx, float hi, float hj,
++si->num_ngb_density; ++si->num_ngb_density;
#endif #endif
} }
/**
* @brief Feedback interaction between two particles (non-symmetric).
*
* @param r2 Comoving square distance between the two particles.
* @param dx Comoving vector separating both particles (pi - pj).
* @param hi Comoving smoothing-length of particle i.
* @param hj Comoving smoothing-length of particle j.
* @param si First sparticle.
* @param pj Second particle (not updated).
* @param a Current scale factor.
* @param H Current Hubble parameter.
*/
__attribute__((always_inline)) INLINE static void
runner_iact_nonsym_stars_feedback(float r2, const float *dx, float hi, float hj,
struct spart *restrict si,
struct part *restrict pj, float a, float H) {}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment