SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
VariableFixing::ParameterizedDeleptonization Class Reference

Adjust the electron fraction (Ye) based on rest mass density (rho). More...

#include <ParameterizedDeleptonization.hpp>

Classes

struct  ElectronFractionAtHighDensity
 Electron fraction of material when the rest mass density is above HighDensityScale. More...
struct  ElectronFractionAtLowDensity
 Electron fraction of material when the rest mass density is below LowDensityScale. More...
struct  ElectronFractionCorrectionScale
 Electron fraction correction term. The larger this value, the higher the Ye of matter at densities between LowDensityScale and HighDensityScale. More...
struct  Enable
 Use an analytic expression vs rest mass density profile. More...
struct  HighDensityScale
 Density near the center of the supernova at bounce, above which the central Ye is assumed. More...
struct  LowDensityScale
 Density near the Silicon-Oxygen interface, below which the lower Ye is assumed. More...

Public Types

using options
using return_tags
using argument_tags

Public Member Functions

 ParameterizedDeleptonization (bool enable, double high_density_scale, double low_density_scale, double electron_fraction_at_high_density, double electron_fraction_at_low_density, double electron_fraction_correction_scale, const Options::Context &context={})
 ParameterizedDeleptonization (const ParameterizedDeleptonization &)=default
ParameterizedDeleptonizationoperator= (const ParameterizedDeleptonization &)=default
 ParameterizedDeleptonization (ParameterizedDeleptonization &&)=default
ParameterizedDeleptonizationoperator= (ParameterizedDeleptonization &&)=default
void pup (PUP::er &p)
template<size_t ThermodynamicDim>
void operator() (gsl::not_null< Scalar< DataVector > * > specific_internal_energy, gsl::not_null< Scalar< DataVector > * > electron_fraction, gsl::not_null< Scalar< DataVector > * > pressure, gsl::not_null< Scalar< DataVector > * > temperature, const Scalar< DataVector > &rest_mass_density, const EquationsOfState::EquationOfState< true, ThermodynamicDim > &equation_of_state) const

Static Public Attributes

static constexpr Options::String help

Friends

bool operator== (const ParameterizedDeleptonization &lhs, const ParameterizedDeleptonization &rhs)

Detailed Description

Adjust the electron fraction (Ye) based on rest mass density (rho).

Based on [131] spherically symmetric Boltzmann calculations, during the collapse phase just before a core-collapse supernova, the electron fraction naturally follows the rest mass density. Intuitively, the higher the density, the more electrons are captured onto protons, leading to neutrino production. As these neutrinos diffuse out of the center of the collapsing star, the total number of leptons near center of the CCSN drops—the process of deleptonization.

https://iopscience.iop.org/article/10.1086/466517

Member Typedef Documentation

◆ argument_tags

using VariableFixing::ParameterizedDeleptonization::argument_tags
Initial value:
tmpl::list<hydro::Tags::RestMassDensity<DataVector>,
The equation of state retrieved from the analytic solution / data in the input file.
Definition Tags.hpp:343

◆ options

using VariableFixing::ParameterizedDeleptonization::options
Initial value:
Electron fraction of material when the rest mass density is above HighDensityScale.
Definition ParameterizedDeleptonization.hpp:90
Electron fraction of material when the rest mass density is below LowDensityScale.
Definition ParameterizedDeleptonization.hpp:102
Electron fraction correction term. The larger this value, the higher the Ye of matter at densities be...
Definition ParameterizedDeleptonization.hpp:116
Density near the center of the supernova at bounce, above which the central Ye is assumed.
Definition ParameterizedDeleptonization.hpp:70
Density near the Silicon-Oxygen interface, below which the lower Ye is assumed.
Definition ParameterizedDeleptonization.hpp:80
Whether or not the limiting is enabled.
Definition FixConservatives.hpp:159

◆ return_tags

using VariableFixing::ParameterizedDeleptonization::return_tags
Initial value:
tmpl::list<hydro::Tags::SpecificInternalEnergy<DataVector>,
The electron fraction .
Definition Tags.hpp:105
The fluid pressure .
Definition Tags.hpp:234
The temperature of the fluid.
Definition Tags.hpp:292

Member Data Documentation

◆ help

Options::String VariableFixing::ParameterizedDeleptonization::help
staticconstexpr
Initial value:
= {
"Set electron fraction based on rest mass density. "
"(Low/High)DensityScale sets the limits of the density, beyond which "
"the ElectronFractionAt(Low/High)Density is assumed. At intermediate "
"densities, the higher the ElectronFractionCorrectionScale, the higher "
"the Ye."}

The documentation for this class was generated from the following file:
  • src/Evolution/VariableFixing/ParameterizedDeleptonization.hpp