SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::model::FixedTotalMass Class Referencefinal

Prescribe total stellar mass while the effective surface-potential level remains an independent solved coordinate. More...

#include <fixed_total_mass.hpp>

Classes

struct  Parameters
 

Public Types

using ScalarDescription
 
using TargetValue = ScalarDescription::TargetValue
 
using ModelDefinition
 

Public Member Functions

 FixedTotalMass (TargetValue mass)
 Require a positive finite target mass.
 
 FixedTotalMass (Parameters parameters)
 Construct from named physical parameters.
 
TargetValue target () const noexcept
 Inspect the prescribed total mass.
 

Private Attributes

TargetValue m_target
 

Detailed Description

Prescribe total stellar mass while the effective surface-potential level remains an independent solved coordinate.

Member Typedef Documentation

◆ ModelDefinition

Initial value:
ScalarConstraint< dimensions::AngularMomentum, dimensions::AngularVelocity, dimensions::AngularMomentum, "fixed_angular_momentum.angular_velocity", "Omega", "fixed_angular_momentum.residual", "R_J"> ScalarDescription
Definition fixed_angular_momentum.hpp:22
FixedTotalMass(TargetValue mass)
Require a positive finite target mass.
Definition specifications.cpp:20
utils::types::TypeList< Fields... > Reads
Definition specification.hpp:43
utils::types::TypeList< Equations... > Changes
Definition specification.hpp:46
@ invariant
Definition specification.hpp:18
@ multiplier
Definition specification.hpp:24
Declare a prescription once; numerical providers and normalization consume this metadata.
Definition specification.hpp:52

◆ ScalarDescription

Initial value:
"fixed_total_mass.multiplier", "Us", "fixed_total_mass.residual", "R_M">
Dimension of Gravitational Potential.
Definition dimensions.hpp:244
Dimension of mass.
Definition dimensions.hpp:35
Declare independent target, unknown and residual units and stable descriptive identities.
Definition specification.hpp:31

◆ TargetValue

using serif::model::FixedTotalMass::TargetValue = ScalarDescription::TargetValue

Constructor & Destructor Documentation

◆ FixedTotalMass() [1/2]

serif::model::FixedTotalMass::FixedTotalMass ( TargetValue mass)
explicit

Require a positive finite target mass.

Store a physically admissible total mass.

◆ FixedTotalMass() [2/2]

serif::model::FixedTotalMass::FixedTotalMass ( Parameters parameters)
explicit

Construct from named physical parameters.

Delegate named mass parameters to the dimensional constructor.

Member Function Documentation

◆ target()

TargetValue serif::model::FixedTotalMass::target ( ) const
inlinenodiscardnoexcept

Inspect the prescribed total mass.

Member Data Documentation

◆ m_target

TargetValue serif::model::FixedTotalMass::m_target
private

The documentation for this class was generated from the following files: