Class nuTens::ConstDensityMatterSolver๏ƒ

class ConstDensityMatterSolver : public nuTens::BaseMatterSolver๏ƒ

Unnamed Group

inline float getDensity() const๏ƒ

Getters.

virtual void calculateEigenvalues(Tensor &eigenvectors, Tensor &eigenvalues) override๏ƒ

Calculate the hamiltonian eigenvalues and eigenvectors, i.e. the effective Mass^2 states and effective mixing matrix.

Parameters:
  • eigenvectors โ€“ [out] The returned eigenvectors

  • eigenvalues โ€“ [out] The corresponding eigenvalues

Tensor getElectronOuterProduct()๏ƒ

construct the outer product of the electron row of the mixing matrix, used in building the hamiltonian, and return a copy of it potentially useful for debugging

Tensor getHamiltonian()๏ƒ

construct the hamiltonian and return a copy of it potentially useful for debugging

Setters

inline virtual void setAntiNeutrino(bool newValue) override๏ƒ

Set whether we are dealing with anti-neutrinos.

Parameters:

newValue โ€“

inline virtual void setMixingMatrix(const Tensor &newMatrix) override๏ƒ

Set a new mixing matrix for this solver.

Parameters:

newMatrix โ€“ The new matrix to set

inline virtual void setMasses(const Tensor &newMasses) override๏ƒ

Set new mass eigenvalues for this solver.

Parameters:

newMasses โ€“ The new masses

inline void setDensity(float newDensity)๏ƒ

set a new density

Parameters:

newDensity โ€“ the new value

Public Functions

inline ConstDensityMatterSolver(int nGenerations, float density, bool antiNeutrino = false)๏ƒ

Constructor.

  • nGenerations The number of neutrino generations this propagator should expect

  • density The electron density of the material to propagate in

  • antiNeutrino True if we are calculating effects for anti-neutrinos