SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::utils::serialize::TopPolytropeSource Struct Reference

Physical samples in a centered frame whose polar axis is the rotation axis. More...

#include <top.hpp>

Public Attributes

double polytropic_index {}
 
double gravitational_constant {}
 
double mass {}
 
double angular_velocity {}
 
double central_density {}
 
double central_enthalpy {}
 
std::function< Result< double >(double mu, double phi)> surface_radius
 
std::function< Result< double >(double radius, double mu, double phi)> enthalpy
 
std::function< std::size_t()> roundoff_density_clamps
 Optional count of explicitly bounded roundoff corrections made by an EOS adapter.
 

Detailed Description

Physical samples in a centered frame whose polar axis is the rotation axis.

Note
Enthalpy is an export conversion of the source EOS, not a primary solver field. The callbacks use mu=cos(theta), phi in radians, and physical radius/enthalpy units.

Member Data Documentation

◆ angular_velocity

double serif::utils::serialize::TopPolytropeSource::angular_velocity {}

◆ central_density

double serif::utils::serialize::TopPolytropeSource::central_density {}

◆ central_enthalpy

double serif::utils::serialize::TopPolytropeSource::central_enthalpy {}

◆ enthalpy

std::function<Result<double>(double radius, double mu, double phi)> serif::utils::serialize::TopPolytropeSource::enthalpy

◆ gravitational_constant

double serif::utils::serialize::TopPolytropeSource::gravitational_constant {}

◆ mass

double serif::utils::serialize::TopPolytropeSource::mass {}

◆ polytropic_index

double serif::utils::serialize::TopPolytropeSource::polytropic_index {}

◆ roundoff_density_clamps

std::function<std::size_t()> serif::utils::serialize::TopPolytropeSource::roundoff_density_clamps

Optional count of explicitly bounded roundoff corrections made by an EOS adapter.

◆ surface_radius

std::function<Result<double>(double mu, double phi)> serif::utils::serialize::TopPolytropeSource::surface_radius

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