SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
serif::discretization::reconstruction::SurfacePower< TermT > Struct Template Reference

Request density proportional to inward distance raised to density_exponent near a vacuum surface. More...

#include <surface_power.hpp>

Collaboration diagram for serif::discretization::reconstruction::SurfacePower< TermT >:
[legend]

Public Types

using Term = TermT
 

Public Attributes

double density_exponent {1.0}
 
SurfaceRegion region {SurfaceAdjacent<>{}}
 

Detailed Description

template<typename TermT>
struct serif::discretization::reconstruction::SurfacePower< TermT >

Request density proportional to inward distance raised to density_exponent near a vacuum surface.

Note
Coefficients remain physical nodal densities. For a Qp element with zero surface trace, the reconstructed space is t^n P_(p-1) radially and ordinary Qp tangentially; t runs from zero on the surface face to one on the inner face. Deeper elements are unchanged. The exponent is n (not n-1) for a vacuum polytrope. A finite-pressure or general EOS surface needs a separately validated profile; this request does not infer it from an EOS.

Member Typedef Documentation

◆ Term

template<typename TermT>
using serif::discretization::reconstruction::SurfacePower< TermT >::Term = TermT

Member Data Documentation

◆ density_exponent

template<typename TermT>
double serif::discretization::reconstruction::SurfacePower< TermT >::density_exponent {1.0}

◆ region


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