|
SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
|
Prescribe angular momentum while angular velocity remains an independent solved coordinate. More...
#include <fixed_angular_momentum.hpp>
Classes | |
| struct | Parameters |
Public Types | |
| using | ScalarDescription |
| using | TargetValue = ScalarDescription::TargetValue |
| using | ModelDefinition |
Public Member Functions | |
| FixedAngularMomentum (TargetValue angular_momentum) | |
| Require finite nonnegative angular momentum about the default z axis. | |
| FixedAngularMomentum (Parameters parameters) | |
| Validate the physical target and normalize a finite nonzero rotation axis. | |
| TargetValue | target () const noexcept |
| Inspect the prescribed total angular momentum. | |
| const std::array< double, 3 > & | axis () const noexcept |
| Read the normalized rotation axis. | |
| const std::array< double, 3 > & | center () const noexcept |
| Read the point through which the rotation axis passes. | |
Private Attributes | |
| TargetValue | m_target |
| std::array< double, 3 > | m_axis |
| std::array< double, 3 > | m_center |
Prescribe angular momentum while angular velocity remains an independent solved coordinate.
| using serif::model::FixedAngularMomentum::TargetValue = ScalarDescription::TargetValue |
|
explicit |
Require finite nonnegative angular momentum about the default z axis.
Use the default rotation axis for a dimensional angular momentum target.
|
explicit |
Validate the physical target and normalize a finite nonzero rotation axis.
Preserve arbitrary finite axes and centers without overflowing the normalization calculation.
|
inlinenodiscardnoexcept |
Read the normalized rotation axis.
|
inlinenodiscardnoexcept |
Read the point through which the rotation axis passes.
|
inlinenodiscardnoexcept |
Inspect the prescribed total angular momentum.
|
private |
|
private |
|
private |