SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::solver::continuation::SpecificationTraits< eos::models::Polytrope > Struct Reference

#include <stellar_parameters.hpp>

Public Types

using Parameters = ParameterList<PolytropicIndex, PolytropicConstant>
 

Static Public Member Functions

static std::array< double, 2 > identity (const eos::models::Polytrope &value) noexcept
 Include both EOS parameters in family membership.
 
template<typename Values>
static eos::models::Polytrope rebuild (const eos::models::Polytrope &, const Values &values)
 Install n and K together so a dependent law cannot be lost.
 
static eos::models::Polytrope clone (const eos::models::Polytrope &value)
 Preserve the exact target EOS rather than reevaluating a rounded law.
 
static auto identity (const eos::models::Polytrope &value)
 Custom physics explicitly identifies every immutable physical input.
 
static eos::models::Polytrope rebuild (const eos::models::Polytrope &value, const Values &parameters)
 Rebuild custom physics from selected and derived parameters.
 
static eos::models::Polytrope clone (const eos::models::Polytrope &value)
 Use an explicit clone hook when physics cannot be copied as an ordinary value.
 

Member Typedef Documentation

◆ Parameters

Member Function Documentation

◆ clone() [1/2]

Use an explicit clone hook when physics cannot be copied as an ordinary value.

◆ clone() [2/2]

Preserve the exact target EOS rather than reevaluating a rounded law.

◆ identity() [1/2]

static auto serif::solver::continuation::SpecificationTraits< eos::models::Polytrope >::identity ( const eos::models::Polytrope & value)
inlinestaticnodiscard

Custom physics explicitly identifies every immutable physical input.

◆ identity() [2/2]

static std::array< double, 2 > serif::solver::continuation::SpecificationTraits< eos::models::Polytrope >::identity ( const eos::models::Polytrope & value)
inlinestaticnodiscardnoexcept

Include both EOS parameters in family membership.

◆ rebuild() [1/2]

template<typename Values>
static eos::models::Polytrope serif::solver::continuation::SpecificationTraits< eos::models::Polytrope >::rebuild ( const eos::models::Polytrope & ,
const Values & values )
inlinestaticnodiscard

Install n and K together so a dependent law cannot be lost.

◆ rebuild() [2/2]

static eos::models::Polytrope serif::solver::continuation::SpecificationTraits< eos::models::Polytrope >::rebuild ( const eos::models::Polytrope & value,
const Values & parameters )
inlinestaticnodiscard

Rebuild custom physics from selected and derived parameters.


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