SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
radial.hpp File Reference
#include <concepts>
#include <expected>
#include <functional>
#include <string>
#include <type_traits>
Include dependency graph for radial.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  serif
 
namespace  serif::utils
 
namespace  serif::utils::projection
 
namespace  serif::utils::projection::detail
 

Concepts

concept  serif::utils::projection::RadialFunction
 A radial profile accepts physical radius and returns a value or a numerical rejection.
 

Typedefs

using serif::utils::projection::RadialValue = std::expected<double, std::string>
 

Functions

template<RadialFunction Function>
std::function< RadialValue(double)> serif::utils::projection::detail::checked_profile (const Function &function)
 Borrow a profile for one synchronous projection without requiring it to be copyable.