SpECTRE
v2024.08.03
|
Class responsible for reading neutrino-matter interaction tables. More...
#include <NeutrinoInteractionTable.hpp>
Public Member Functions | |
NeutrinoInteractionTable (const std::string &filename) | |
Read table from disk and stores interaction rates. | |
NeutrinoInteractionTable (std::vector< double > table_data_, const std::array< double, EnergyBins > &table_neutrino_energies_, std::vector< double > table_log_density_, std::vector< double > table_log_temperature_, std::vector< double > table_electron_fraction_) | |
Explicit instantiation from table values, for tests. | |
NeutrinoInteractionTable (CkMigrateMessage *msg) | |
void | pup (PUP::er &p) override |
WRAPPED_PUPable_decl_template (NeutrinoInteractionTable) | |
void | get_neutrino_matter_interactions (gsl::not_null< std::array< std::array< DataVector, EnergyBins >, NeutrinoSpecies > * > emissivity_in_cell, gsl::not_null< std::array< std::array< DataVector, EnergyBins >, NeutrinoSpecies > * > absorption_opacity, gsl::not_null< std::array< std::array< DataVector, EnergyBins >, NeutrinoSpecies > * > scattering_opacity, const Scalar< DataVector > &electron_fraction, const Scalar< DataVector > &rest_mass_density, const Scalar< DataVector > &temperature, const double &minimum_temperature) const |
Interpolate interaction rates to given values of density, temperature and electron fraction. | |
const std::array< double, EnergyBins > & | get_neutrino_energies () const |
Class responsible for reading neutrino-matter interaction tables.