SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::reconstruction::SurfacePowerProfile Class Referencefinal

Complete nodal basis whose homogeneous surface trace spans t^n times degree-(p-1) polynomials. More...

#include <surface_power.hpp>

Inheritance diagram for serif::discretization::reconstruction::SurfacePowerProfile:
[legend]
Collaboration diagram for serif::discretization::reconstruction::SurfacePowerProfile:
[legend]

Public Member Functions

 SurfacePowerProfile (double density_exponent)
 Require a finite exponent with a finite density gradient at the surface.
 
std::string_view name () const noexcept override
 Return the stable numerical-form name.
 
double density_exponent () const noexcept
 Return the density's leading surface exponent, rather than the weight's exponent.
 
void evaluate (std::span< const double > nodes, double inward_coordinate, std::span< double > values, std::span< double > derivatives) const override
 Evaluate the complete lifting rho_s + sum_i psi_i (rho_i-rho_s), including analytic endpoint limits.
 
- Public Member Functions inherited from serif::discretization::reconstruction::RadialProfile
virtual ~RadialProfile ()=default
 Release a profile through its immutable shared owner.
 

Private Attributes

double m_exponent
 

Detailed Description

Complete nodal basis whose homogeneous surface trace spans t^n times degree-(p-1) polynomials.

Constructor & Destructor Documentation

◆ SurfacePowerProfile()

serif::discretization::reconstruction::SurfacePowerProfile::SurfacePowerProfile ( double density_exponent)
inlineexplicit

Require a finite exponent with a finite density gradient at the surface.

Member Function Documentation

◆ density_exponent()

double serif::discretization::reconstruction::SurfacePowerProfile::density_exponent ( ) const
inlinenodiscardnoexcept

Return the density's leading surface exponent, rather than the weight's exponent.

◆ evaluate()

void serif::discretization::reconstruction::SurfacePowerProfile::evaluate ( std::span< const double > nodes,
double inward_coordinate,
std::span< double > values,
std::span< double > derivatives ) const
inlineoverridevirtual

Evaluate the complete lifting rho_s + sum_i psi_i (rho_i-rho_s), including analytic endpoint limits.

Implements serif::discretization::reconstruction::RadialProfile.

◆ name()

std::string_view serif::discretization::reconstruction::SurfacePowerProfile::name ( ) const
inlinenodiscardoverridevirtualnoexcept

Return the stable numerical-form name.

Implements serif::discretization::reconstruction::RadialProfile.

Member Data Documentation

◆ m_exponent

double serif::discretization::reconstruction::SurfacePowerProfile::m_exponent
private

The documentation for this class was generated from the following file: