Skip to content

Commit

Permalink
Merge pull request #349 from lanl/jhp/fix_doc
Browse files Browse the repository at this point in the history
Fix typo in documentation
  • Loading branch information
jhp-lanl authored Feb 23, 2024
2 parents c3e08cc + 34e3185 commit caa7ae4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions doc/sphinx/src/using-closures.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,19 +35,19 @@ The average density in a given material-occupied volume is

.. math::
\bar{\rho} = \rho_i f_i
\bar{\rho}_i = \rho_i f_i
and thus the density averaged over all materials is

.. math::
\rho = \sum_{i=0}^{N - 1} \bar{\rho} = \sum_{i=0}^{N-1} \rho_i f_i
\rho = \sum_{i=0}^{N - 1} \bar{\rho}_i = \sum_{i=0}^{N-1} \rho_i f_i
Conservation of energy implies that

.. math::
u = \rho \varepsilon = \sum_{i = 0}^{N - 1} \rho_i \varepsilon_i
u = \rho \varepsilon = \sum_{i = 0}^{N - 1} \bar{\rho}_i \varepsilon_i
where :math:`u = E/V` is the energy density by volume for total energy
:math:`E` and total volume :math:`V`, and :math:`\varepsilon` is the
Expand Down

0 comments on commit caa7ae4

Please sign in to comment.