enzo-project / enzo-dev

The Enzo adaptive mesh-refinement simulation code.
Other
86 stars 94 forks source link

Adding updated H2 self-shielding fit from Wolcott-Green & Haiman 2019 #202

Closed mihirskulkarni closed 1 year ago

mihirskulkarni commented 1 year ago

Currently, RadiationShield = 2 selects H2 self-shielding from Wolcott-Green et al. (2011). This fit was updated in Wolcott-Green & Haiman (2019) for a wider range of density and temperatures. I have added the new self-shielding fit for RadiationShield = 3 and kept the old fit with RadiationShield = 2 for backward compatibility, but the new fit should be used by default if one wants to include H2 self-shielding.

bwoshea commented 1 year ago

This also looks good to me!