SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
configuration.hpp File Reference
#include <concepts>
#include <expected>
#include <string>
#include <tuple>
#include <utility>
#include "serif/dimensions/type_alias.hpp"
#include "serif/solver/normalization/scales.hpp"
#include "serif/utils/dependencies/dependency_context.hpp"
#include "serif/utils/laneemden/laneemden.hpp"
Include dependency graph for configuration.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  serif::solver::normalization::FromModel
 Obtain a reference value from the corresponding descriptive model prescription. More...
 
struct  serif::solver::normalization::AutomaticPlan
 Derive the coordinate rules from the selected fields, equations and boundary formulation. More...
 
struct  serif::solver::normalization::Dimensionless
 Remove physical and geometric units from the solver's coordinates and norms. More...
 
struct  serif::solver::normalization::PhysicalRiesz
 Retain the original physical Riesz convention, including dimensional geometric measures. More...
 
struct  serif::solver::normalization::LaneEmdenApproximation< Mass, CentralDensity >
 Estimate a reference radius from a Lane–Emden shape, mass and central density. More...
 
struct  serif::solver::normalization::NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations >
 Declare normalization without evaluating a reference star or allocating coordinate factors. More...
 

Namespaces

namespace  serif
 
namespace  serif::solver
 
namespace  serif::solver::normalization
 

Concepts

concept  serif::solver::normalization::ReferenceScheme
 A custom stellar reference strategy supplies the same typed scales and ordinary failure value.
 

Functions

template<typename Scheme, typename Coordinates, typename Plan, typename Sources, typename Computations>
auto serif::solver::normalization::make_normalization (NormalizationOptions< Scheme, Coordinates, Plan, Sources, Computations > options)
 Preserve the deduced numerical choices for later preparation with a model and discretization.
 
auto serif::solver::normalization::make_normalization ()
 Select the usual dimensionless Lane–Emden reference, taking mass and central density from the model.
 
std::expected< StellarReferenceScales, std::string > serif::solver::normalization::prepare_reference_scales (const LaneEmdenApproximation< dimensions::MassValue, dimensions::DensityValue > &scheme, dimensions::QuantityValue< dimensions::GravitationalConstant > gravitational_constant)
 Derive the shared stellar scales after both dimensional reference inputs have been resolved.
 
std::expected< StellarReferenceScales, std::string > serif::solver::normalization::prepare_reference_scales (const StellarReferenceScales &reference, dimensions::QuantityValue< dimensions::GravitationalConstant > gravitational_constant)
 Use explicitly prepared reference scales through the same graph as estimated references.