forked from AMReX-Astro/Microphysics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'development' into doxygen_fixes
- Loading branch information
Showing
259 changed files
with
19,307 additions
and
4,250 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,4 +9,9 @@ Abigail Bishop <[email protected]> abigailbishop <ms.abigailbishop@gmai | |
Sydney Andrews <[email protected]> sandshrews <[email protected]> | ||
Xinlong Li <[email protected]> Xinlong <[email protected]> | ||
Xinlong Li <[email protected]> sailoridy <[email protected]> | ||
Xinlong Li <[email protected]> sailor <[email protected]> | ||
Xinlong Li <[email protected]> sailor <[email protected]> | ||
Xinlong Li <[email protected]> | ||
Eric T. Johnson <[email protected]> | ||
Zhi Chen <[email protected]> | ||
Zhi Chen <[email protected]> | ||
Doreen Fan <[email protected]> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
.. _neutrino_loss: | ||
|
||
*************** | ||
Neutrino Losses | ||
*************** | ||
|
||
We model thermal neutrino losses (plasma, photo-, pair-, | ||
recombination, and Bremsstrahlung) using the method described in | ||
:cite:`itoh:1996`. This neutrino loss term is included in all of the | ||
reaction networks by default, and modifies the energy equation to have | ||
the form (for Strang splitting): | ||
|
||
.. math:: | ||
\frac{de}{dt} = \epsilon - \epsilon_\nu | ||
where $\epsilon_\nu$ are the thermal neutrino losses. | ||
|
||
.. note:: | ||
|
||
Thermal neutrino losses can be disabled at compile time by setting the make | ||
variable ``USE_NEUTRINOS = FALSE``. | ||
|
||
The interface for the neutrino loss function is: | ||
|
||
.. code:: c++ | ||
|
||
template <int do_derivatives> | ||
AMREX_GPU_HOST_DEVICE AMREX_INLINE | ||
void sneut5(const amrex::Real temp, const amrex::Real den, | ||
const amrex::Real abar, const amrex::Real zbar, | ||
amrex::Real& snu, amrex::Real& dsnudt, amrex::Real& dsnudd, | ||
amrex::Real& dsnuda, amrex::Real& dsnudz) | ||
|
||
Here, the template parameter, ``do_derivatives``, can be used to disable the code | ||
the computes the derivatives of the neutrino loss, for example, if a numerical Jacobian | ||
is used. The output is | ||
|
||
* ``snu`` : $\epsilon_\nu$, the neutrino loss in erg/g/s | ||
|
||
* ``dsnudt`` : $d\epsilon_\nu/dT$ | ||
|
||
* ``dsnudd`` : $d\epsilon_\nu/d\rho$ | ||
|
||
* ``dsnuda`` : $d\epsilon_\nu/d\bar{A}$ | ||
|
||
* ``dsnudz`` : $d\epsilon_\nu/d\bar{Z}$ |
File renamed without changes
File renamed without changes
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.