SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::blocks::barotropic_constant Struct Referencefinal

This field holds the effective potential level on the stellar isobar. The level is solved together with the fixed total mass. The barotropic_constant name is retained as an internal coordinate identity. In the density formulation its value is Us, the gravitational potential minus the centrifugal potential on the surface; it is not the polytropic EOS constant K. More...

#include <fields.hpp>

Inheritance diagram for serif::discretization::blocks::barotropic_constant:
[legend]
Collaboration diagram for serif::discretization::blocks::barotropic_constant:
[legend]

Classes

struct  mass_normalization
 The value of this global scalar is the effective surface-potential level Us. Its paired residual enforces the prescribed total mass. The surface equation supplies the dependence on Us, while the mass equation integrates the density over the star. More...
 

Public Types

using Terms = utils::types::TypeList<mass_normalization>
 Type list of terms for compile time reflection and iteration over the terms of the field.
 

Static Public Attributes

static constexpr std::string_view name = meta::type_name<barotropic_constant>()
 Compile time reflected name of the field.
 
static constexpr mass_normalization mass_normalization_term {}
 Static constexpr instance of the mass_normalization term. This is used to access the term in the discretization.
 

Detailed Description

This field holds the effective potential level on the stellar isobar. The level is solved together with the fixed total mass. The barotropic_constant name is retained as an internal coordinate identity. In the density formulation its value is Us, the gravitational potential minus the centrifugal potential on the surface; it is not the polytropic EOS constant K.

Member Typedef Documentation

◆ Terms

Type list of terms for compile time reflection and iteration over the terms of the field.

Member Data Documentation

◆ mass_normalization_term

mass_normalization serif::discretization::blocks::barotropic_constant::mass_normalization_term {}
staticconstexpr

Static constexpr instance of the mass_normalization term. This is used to access the term in the discretization.

◆ name

std::string_view serif::discretization::blocks::barotropic_constant::name = meta::type_name<barotropic_constant>()
staticconstexpr

Compile time reflected name of the field.


The documentation for this struct was generated from the following file: