Own one stellar candidate in physical coordinates, including any solved surface shape.
More...
|
| | StellarState (Layout layout) |
| | Allocate one zero-initialized coefficient vector in the declared physical ordering.
|
| |
| | StellarState (Layout layout, std::vector< double > values) |
| | Adopt existing physical coefficients after checking their complete coordinate count.
|
| |
| const Layout & | layout () const &noexcept |
| | Inspect the fixed field and equation ordering associated with this state.
|
| |
| const Layout & | layout () const &&=delete |
| | Layout references must not outlive a temporary state.
|
| |
template<typename Term>
requires utils::dependencies::ContainsKey<Term, typename Layout::Values> |
| std::span< double > | get () & |
| | Edit one physical field or scalar without maintaining a second coefficient copy.
|
| |
template<typename Term>
requires utils::dependencies::ContainsKey<Term, typename Layout::Values> |
| std::span< const double > | get () const & |
| | Inspect one physical field while preserving the constness of its owning state.
|
| |
| template<typename Term> |
| std::span< const double > | get () const &&=delete |
| | A field view cannot outlive a temporary owning state.
|
| |
| std::span< double > | values () &noexcept |
| | Access packed physical coordinates for an explicitly chosen numerical update.
|
| |
| std::span< const double > | values () const &noexcept |
| | Read packed physical coordinates without permitting a change in their count.
|
| |
| std::span< const double > | values () const &&=delete |
| | Do not return a span into a temporary owning state.
|
| |
template<discretization::blocks::SystemLayoutType LayoutT>
struct serif::model::StellarState< LayoutT >
Own one stellar candidate in physical coordinates, including any solved surface shape.
- Note
- Copying a state makes an independent candidate. Its layout fixes the field identities and sizes; normalization changes solver coordinates, never these physical coefficients. Prescribed inputs are supplied separately to evaluation because they have no solved coordinate in this layout.