Package pulse.problem.schemes.rte.dom
Class DiscreteQuantities
- java.lang.Object
-
- pulse.problem.schemes.rte.dom.DiscreteQuantities
-
- All Implemented Interfaces:
Serializable
public class DiscreteQuantities extends Object implements Serializable
Defines the main quantities calculated within the discrete ordinates method. This includes the various intensity and flux arrays used internally by the integrators.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description DiscreteQuantities(int gridDensity, int ordinates)
Constructs a set of quantities based on the specified spatial and angular discretisation.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description double
getDerivative(int i, int j)
double[][]
getDerivatives()
double[][]
getIntensities()
double
getIntensity(int i, int j)
protected double
getQLast(int i)
double
getStoredDerivative(int i, int j)
double
getStoredIntensity(int i, int j)
protected void
init(int gridDensity, int ordinates)
void
setDerivative(int i, int j, double f)
void
setIntensity(int i, int j, double value)
protected void
setQLast(int i, double q)
void
setStoredDerivative(int i, int j, double f)
protected void
store()
-
-
-
Method Detail
-
init
protected final void init(int gridDensity, int ordinates)
-
store
protected void store()
-
getIntensities
public final double[][] getIntensities()
-
getDerivatives
public final double[][] getDerivatives()
-
getQLast
protected final double getQLast(int i)
-
setQLast
protected final void setQLast(int i, double q)
-
getDerivative
public final double getDerivative(int i, int j)
-
setDerivative
public final void setDerivative(int i, int j, double f)
-
getStoredIntensity
public final double getStoredIntensity(int i, int j)
-
getStoredDerivative
public final double getStoredDerivative(int i, int j)
-
setStoredDerivative
public final void setStoredDerivative(int i, int j, double f)
-
getIntensity
public final double getIntensity(int i, int j)
-
setIntensity
public final void setIntensity(int i, int j, double value)
-
-