\doxysection{src/include/serif/equations/central\+\_\+density.hpp File Reference} \hypertarget{central__density_8hpp}{}\label{central__density_8hpp}\index{src/include/serif/equations/central\_density.hpp@{src/include/serif/equations/central\_density.hpp}} Prescribe central density through the continuous enthalpy\+: h(0) -\/ h\+\_\+\+EOS(rho\+\_\+c) = 0. Generally this is not needed; however, in the particular case of an n=3 polytrope with no rotation the central density becomes ill-\/defined and must be prescribed to avoid a singularity in the solution. {\ttfamily \#include $<$array$>$}\newline {\ttfamily \#include $<$cmath$>$}\newline {\ttfamily \#include $<$string\+\_\+view$>$}\newline {\ttfamily \#include $<$utility$>$}\newline {\ttfamily \#include "{}serif/dimensions/type\+\_\+alias.\+hpp"{}}\newline {\ttfamily \#include "{}serif/eos/evaluation.\+hpp"{}}\newline {\ttfamily \#include "{}serif/equations/contributions.\+hpp"{}}\newline {\ttfamily \#include "{}serif/equations/point.\+hpp"{}}\newline {\ttfamily \#include "{}serif/utils/error/errors.\+hpp"{}}\newline Include dependency graph for central\+\_\+density.\+hpp\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{central__density_8hpp__incl} \end{center} \end{figure} This graph shows which files directly or indirectly include this file\+:\nopagebreak \begin{figure}[H] \begin{center} \leavevmode \includegraphics[width=350pt]{central__density_8hpp__dep__incl} \end{center} \end{figure} \doxysubsubsection*{Classes} \begin{DoxyCompactItemize} \item class \mbox{\hyperlink{classserif_1_1equations_1_1_central_density_constraint}{serif\+::equations\+::\+Central\+Density\+Constraint$<$ EOST $>$}} \begin{DoxyCompactList}\small\item\em Prescribe central density through the continuous enthalpy\+: $h(0) - h_{EOS}(\rho_c) = 0$. Generally this is not needed; however, in the particular case of an n=3 polytrope with no rotation the central density becomes ill-\/defined and must be prescribed to avoid a singularity in the solution. Note that this equation is not responsible for sorting out what point is the center of the star; rather, this is provided to the evaluate method. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsubsection*{Namespaces} \begin{DoxyCompactItemize} \item namespace \mbox{\hyperlink{namespaceserif}{serif}} \item namespace \mbox{\hyperlink{namespaceserif_1_1equations}{serif\+::equations}} \begin{DoxyCompactList}\small\item\em The equations namespace, intended to be, to the best of my design ability, where the vast majority of the actual physics lives. \end{DoxyCompactList}\end{DoxyCompactItemize} \doxysubsection{Detailed Description} Prescribe central density through the continuous enthalpy\+: h(0) -\/ h\+\_\+\+EOS(rho\+\_\+c) = 0. Generally this is not needed; however, in the particular case of an n=3 polytrope with no rotation the central density becomes ill-\/defined and must be prescribed to avoid a singularity in the solution. \begin{DoxyAuthor}{Author} Emily M. Boudreaux \end{DoxyAuthor}