Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update documentation regarding species sources and normalization #2742

Merged
merged 4 commits into from
Feb 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions Docs/source/Hydrodynamics.rst
Original file line number Diff line number Diff line change
Expand Up @@ -342,6 +342,14 @@ accounted for in **Steps 1** and **6**. The source terms are:
S_{{\rm ext},\rho Y_k}
\end{array}\right)^n.

.. index:: USE_SPECIES_SOURCES

.. note:: To reduce memory usage, we do not include source terms for the
advected quantities, species, and auxiliary variables in the conserved
state vector by default. If your application needs external source terms for
these variables, set `USE_SPECIES_SOURCES=TRUE` when compiling so that space
will be allocated for them.

Primitive Forms
===============

Expand Down Expand Up @@ -585,9 +593,6 @@ runtime parameters for hydrodynamics:

See :ref:`sponge_section` for more details on the sponge.

- ``castro.normalize_species``: enforce that :math:`\sum_i X_i = 1`
(0 or 1; default: 0)

.. index:: castro.small_dens, castro.small_temp, castro.small_pres

Several floors are imposed on the thermodynamic quantities to prevet unphysical
Expand Down