Package pulse.problem.schemes.rte.dom
Class PhaseFunction
- java.lang.Object
-
- pulse.problem.schemes.rte.dom.PhaseFunction
-
- All Implemented Interfaces:
Serializable,Reflexive
- Direct Known Subclasses:
CornetteSchanksPF,HenyeyGreensteinPF,LinearAnisotropicPF
public abstract class PhaseFunction extends Object implements Reflexive, Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description PhaseFunction(ThermoOpticalProperties top, Discretisation intensities)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description doublecosineTheta(int i, int k)Calculates the cosine of the scattering angle as the product of the two discrete cosine nodes.doublefullSum(int i, int j)abstract doublefunction(int i, int k)doublegetAnisotropyFactor()protected DiscretisationgetDiscreteIntensities()doublegetHalfAlbedo()voidinit(ThermoOpticalProperties properties)doubleinwardPartialSum(int i, double[] inward, int kStart, int kEndExclusive)doublepartialSum(int i, int j, int startInclusive, int endExclusive)doublesumExcludingIndex(int i, int j, int index)StringtoString()
-
-
-
Constructor Detail
-
PhaseFunction
public PhaseFunction(ThermoOpticalProperties top, Discretisation intensities)
-
-
Method Detail
-
cosineTheta
public final double cosineTheta(int i, int k)Calculates the cosine of the scattering angle as the product of the two discrete cosine nodes.- Parameters:
i-k-- Returns:
-
fullSum
public double fullSum(int i, int j)
-
sumExcludingIndex
public double sumExcludingIndex(int i, int j, int index)
-
partialSum
public double partialSum(int i, int j, int startInclusive, int endExclusive)
-
inwardPartialSum
public double inwardPartialSum(int i, double[] inward, int kStart, int kEndExclusive)
-
function
public abstract double function(int i, int k)
-
getAnisotropyFactor
public double getAnisotropyFactor()
-
getDiscreteIntensities
protected Discretisation getDiscreteIntensities()
-
init
public void init(ThermoOpticalProperties properties)
-
getHalfAlbedo
public double getHalfAlbedo()
-
-