SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
solution.hpp File Reference
#include <cstddef>
#include <expected>
#include <optional>
#include <string>
#include <string_view>
#include <vector>
#include <format>
#include "serif/utils/error/errors.hpp"
Include dependency graph for solution.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  serif::utils::laneemden::IntegrationOptions
 Dimensionless integration controls; the surface tolerance does not bound the global integration error. More...
 
struct  serif::utils::laneemden::Sample
 The regular Lane–Emden solution and its first derivative at one dimensionless radius. More...
 
struct  serif::utils::laneemden::Solution
 A regular profile, ending at its first zero or the requested integration radius. More...
 
struct  std::formatter< serif::utils::laneemden::IntegrationOptions >
 
struct  std::formatter< serif::utils::laneemden::Sample >
 Select all sample values, or one named component with :xi, :theta, or :derivative. More...
 
struct  std::formatter< serif::utils::laneemden::Solution >
 Describe the solution while applying one shared selection to its profile and optional surface sample. More...
 

Namespaces

namespace  serif
 
namespace  serif::utils
 
namespace  serif::utils::laneemden
 

Functions

std::expected< Solution, std::string > serif::utils::laneemden::solve (double n, IntegrationOptions options={})
 Integrate theta'' + 2 theta'/xi + theta^n = 0 from the regular center.
 
std::expected< Sample, std::string > serif::utils::laneemden::evaluate (const Solution &solution, double xi)
 Evaluate a solved dimensionless profile with cubic Hermite interpolation, without extrapolation.