PrincetonUniversity / athena

Athena++ radiation GRMHD code and adaptive mesh refinement (AMR) framework
https://www.athena-astro.app
BSD 3-Clause "New" or "Revised" License
226 stars 122 forks source link

Leftover cosmic ray transport and diffusion changes #570

Open felker opened 7 months ago

felker commented 7 months ago

Follow up from #550 (mostly stuff for @yanfeij to generally weigh in on that PR)

  Real vlim;
  Real max_opacity;
  AthenaArray<Real> sigma_adv;  // KGF: show an example of how this is set in the enroll functions 
...
  // Function in problem generators to update opacity
...
  void EnrollStreamingFunction(CRStreamingFunc MyStreamingFunction);

  void EnrollUserCRSource(CRSrcTermFunc my_func);
felker commented 5 months ago

delaying until after the 24.0 release