SpECTRE  v2026.04.01
Loading...
Searching...
No Matches
Particles::MonteCarlo::TimeStepMutator< EnergyBins, NeutrinoSpecies > Struct Template Reference

Mutator advancing neutrinos by a single step. More...

#include <TimeStepActions.hpp>

Public Types

using return_tags
using argument_tags

Static Public Member Functions

static void apply (const gsl::not_null< std::vector< Packet > * > packets, const gsl::not_null< Scalar< DataVector > * > coupling_tilde_tau, const gsl::not_null< Scalar< DataVector > * > coupling_tilde_rho_ye, const gsl::not_null< tnsr::i< DataVector, Dim > * > coupling_tilde_s, const gsl::not_null< std::mt19937 * > random_number_generator, const gsl::not_null< std::array< DataVector, NeutrinoSpecies > * > single_packet_energy, const TimeStepId &current_step_id, const TimeStepId &next_step_id, const EquationsOfState::EquationOfState< true, 3 > &equation_of_state, const NeutrinoInteractionTable< EnergyBins, NeutrinoSpecies > &interaction_table, const Scalar< DataVector > &electron_fraction, const Scalar< DataVector > &rest_mass_density, const Scalar< DataVector > &temperature, const Scalar< DataVector > &lorentz_factor, const tnsr::I< DataVector, Dim, Frame::Inertial > &spatial_velocity, const Scalar< DataVector > &lapse, const tnsr::I< DataVector, Dim, Frame::Inertial > &shift, const tnsr::iaa< DataVector, Dim, Frame::Inertial > &phi, const tnsr::ii< DataVector, Dim, Frame::Inertial > &spatial_metric, const tnsr::II< DataVector, Dim, Frame::Inertial > &inv_spatial_metric, const Scalar< DataVector > &sqrt_determinant_spatial_metric, const Scalar< DataVector > &cell_light_crossing_time, const Mesh< Dim > &mesh, const tnsr::I< DataVector, Dim, Frame::ElementLogical > &mesh_coordinates, const std::optional< tnsr::I< DataVector, Dim, Frame::Inertial > > &mesh_velocity, const InverseJacobian< DataVector, Dim, Frame::ElementLogical, Frame::Inertial > &inverse_jacobian_logical_to_inertial, const Scalar< DataVector > &det_inverse_jacobian_logical_to_inertial, const InverseJacobian< DataVector, Dim+1, Frame::Inertial, Frame::Fluid > &inertial_to_fluid_inverse_jacobian, const Jacobian< DataVector, Dim+1, Frame::Inertial, Frame::Fluid > &inertial_to_fluid_jacobian, const MortarData< Dim > &mortar_data)

Static Public Attributes

static const size_t Dim = 3

Detailed Description

template<size_t EnergyBins, size_t NeutrinoSpecies>
struct Particles::MonteCarlo::TimeStepMutator< EnergyBins, NeutrinoSpecies >

Mutator advancing neutrinos by a single step.

Member Typedef Documentation

◆ argument_tags

template<size_t EnergyBins, size_t NeutrinoSpecies>
using Particles::MonteCarlo::TimeStepMutator< EnergyBins, NeutrinoSpecies >::argument_tags
Initial value:
tmpl::list<
NeutrinoSpecies>,
Simple tag containing an approximation of the light crossing time for each cell (the shortest time am...
Definition Tags.hpp:30
Simple tag for the table of neutrino-matter interaction rates (emission, absorption and scattering fo...
Definition Tags.hpp:73
Simple tag containing the fluid and metric data in the ghost zones for Monte-Carlo packets evolution.
Definition MortarData.hpp:59
Prefix indicating the value a quantity will take on the next iteration of the algorithm.
Definition Prefixes.hpp:199
Tag for TimeStepId for the algorithm state.
Definition TimeStepId.hpp:14
The inverse Jacobian from the source frame to the target frame.
Definition Tags.hpp:118
The Jacobian from the source frame to the target frame.
Definition Tags.hpp:157
The mesh velocity.
Definition TagsTimeDependent.hpp:168
The coordinates in a given frame.
Definition Coordinates.hpp:39
The mesh on the subcells.
Definition Mesh.hpp:22
The determinant of the inverse Jacobian from the element logical frame to the inertial frame at the c...
Definition Jacobians.hpp:44
The inverse Jacobian from the element logical frame to the inertial frame at the cell centers.
Definition Jacobians.hpp:55
Auxiliary variable which is analytically the spatial derivative of the spacetime metric.
Definition Tags.hpp:38
Inverse of the spatial metric.
Definition Tags.hpp:32
Definition Tags.hpp:65
Definition Tags.hpp:61
Definition Tags.hpp:25
Definition Tags.hpp:43
The electron fraction .
Definition Tags.hpp:105
The equation of state retrieved from the analytic solution / data in the input file.
Definition Tags.hpp:343
The Lorentz factor , where is the spatial velocity of the fluid.
Definition Tags.hpp:181
The rest-mass density .
Definition Tags.hpp:240
The spatial velocity of the fluid, where . Here is the spatial part of the 4-velocity of the fluid,...
Definition Tags.hpp:257
The temperature of the fluid.
Definition Tags.hpp:292

◆ return_tags

template<size_t EnergyBins, size_t NeutrinoSpecies>
using Particles::MonteCarlo::TimeStepMutator< EnergyBins, NeutrinoSpecies >::return_tags
Initial value:
NeutrinoSpecies>>
Simple tag storing the coupling term between MC and tilde_RhoYe (i.e. the composition variable)
Definition Tags.hpp:44
Simple tag storing the coupling term between MC and tilde_S (i.e. the momentum variable)
Definition Tags.hpp:51
Simple tag storing the coupling term between MC and tilde_Tau (i.e. the energy variable)
Definition Tags.hpp:37
Simple tag containing the desired energy of packets in low-density regions. The energy can be differe...
Definition Tags.hpp:65
Simple tag containing the vector of Monte-Carlo packets belonging to an element.
Definition Tags.hpp:22
Simple tag storing the random number generator used by Monte-Carlo.
Definition Tags.hpp:57

The documentation for this struct was generated from the following file:
  • src/Evolution/Particles/MonteCarlo/Actions/TimeStepActions.hpp