LineSource_SN

class LineSource_SN : public LineSource

Subclassed by LineSource_SN_1D

Public Functions

VectorVector GetScatteringXS(const Vector &energies) override

GetScatteringXS gives back vector (each energy) of vectors (each grid cell) of scattering cross sections for materials defined by density and energies in vector energy.

Parameters
  • energies: is the energy the cross section is queried for

VectorVector GetTotalXS(const Vector &energies) override

GetTotalXS gives back vector of vectors of total cross sections for materials defined by density and energies in vector energy.

Parameters
  • energies: is the energy the cross section is queried for

std::vector<VectorVector> GetExternalSource(const Vector &energies) override

GetExternalSource gives back vector of vectors of source terms for each energy, cell and angle.

Parameters
  • energies: is the energy the cross section is queried for

VectorVector SetupIC() override

Setup the initial condition for the flux psi.