Note for now much of the docs is LLM written. This was done to save time and focus on code development. The docs have been LOOSLEY reviewed. However, the code itself has been either fully written by hand or fully reviewed. Therefore, the docs should at the moment be seen as a loose resource rather than authoratiative (and this is on top of the general ability for docs to drift)
51 lines
3.0 KiB
TeX
51 lines
3.0 KiB
TeX
\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}
|