Package pulse.problem.schemes.rte.dom
Class OrdinateSet
- java.lang.Object
-
- pulse.problem.schemes.rte.dom.OrdinateSet
-
- All Implemented Interfaces:
Serializable,Descriptive
public class OrdinateSet extends Object implements Descriptive, Serializable
A fixed set of discrete cosine nodes and weights for the angular discretisation of a radiative transfer equation.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringDEFAULT_SET
-
Constructor Summary
Constructors Constructor Description OrdinateSet(String name, double[] mu, double[] w)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringdescribe()Creates aString'describing' this object, usually for exporting purposes.intgetFirstNegativeNode()intgetFirstPositiveNode()intgetHalfLength()StringgetName()doublegetNode(int i)intgetNumberOfNodes()intgetTotalNodes()doublegetWeight(int i)booleanhasZeroNode()StringprintOrdinateSet()voidsetName(String name)StringtoString()
-
-
-
Field Detail
-
DEFAULT_SET
public static final String DEFAULT_SET
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
OrdinateSet
public OrdinateSet(String name, double[] mu, double[] w)
-
-
Method Detail
-
printOrdinateSet
public String printOrdinateSet()
-
hasZeroNode
public final boolean hasZeroNode()
-
getFirstPositiveNode
public int getFirstPositiveNode()
-
getFirstNegativeNode
public int getFirstNegativeNode()
-
getName
public String getName()
-
setName
public final void setName(String name)
-
describe
public String describe()
Description copied from interface:DescriptiveCreates aString'describing' this object, usually for exporting purposes.- Specified by:
describein interfaceDescriptive- Returns:
- by default, this will return the name of the implementing class and the date of the calculation.
-
getNumberOfNodes
public int getNumberOfNodes()
-
getTotalNodes
public int getTotalNodes()
-
getNode
public double getNode(int i)
-
getWeight
public double getWeight(int i)
-
getHalfLength
public int getHalfLength()
-
-