Package pulse.problem.schemes.rte.exact
Class CompositionProduct
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.math.AbstractIntegrator
-
- pulse.problem.schemes.rte.exact.CompositionProduct
-
- All Implemented Interfaces:
Serializable,Descriptive,Reflexive
- Direct Known Subclasses:
ChandrasekharsQuadrature,NewtonCotesQuadrature
public abstract class CompositionProduct extends AbstractIntegrator
A class for evaluating the definite integral . This integral appears as a result of analytically integrating the radiative transfer equation for an absorbing-emitting medium. The number n is the order of this integral, and α and β are the coefficients.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CompositionProduct(Segment bounds)Constructs the composition product with the specified integration bounds.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetAlpha()doublegetBeta()BlackbodySpectrumgetEmissionFunction()intgetOrder()StringgetPrefix()doubleintegrand(double... vars)Evaluates the integrand .voidsetCoefficients(double alpha, double beta)voidsetEmissionFunction(BlackbodySpectrum emissionFunction)voidsetOrder(int order)Sets the integration order n.-
Methods inherited from class pulse.math.AbstractIntegrator
getBounds, integrate, setBounds
-
Methods inherited from class pulse.util.PropertyHolder
addListener, areDetailsHidden, data, describe, firePropertyChanged, getDescriptor, getListeners, ignoreSiblings, initListeners, isListedNumericType, isListedParameter, listedKeywords, listedTypes, numericData, parameterListChanged, removeListeners, setPrefix, updateProperties, updateProperty
-
Methods inherited from class pulse.util.Accessible
accessibleChildren, genericProperties, genericProperty, numericProperties, numericProperty, property, set, update, update
-
Methods inherited from class pulse.util.UpwardsNavigable
addHierarchyListener, getHierarchyListeners, getParent, identify, removeHierarchyListener, removeHierarchyListeners, setParent, specificAncestor, tellParent
-
-
-
-
Constructor Detail
-
CompositionProduct
public CompositionProduct(Segment bounds)
Constructs the composition product with the specified integration bounds.- Parameters:
bounds- integration bounds
-
-
Method Detail
-
integrand
public double integrand(double... vars)
Evaluates the integrand .- Specified by:
integrandin classAbstractIntegrator- Parameters:
vars- one or more variables- Returns:
- the value of the integrand at the specified variable values.
-
getEmissionFunction
public BlackbodySpectrum getEmissionFunction()
-
setEmissionFunction
public void setEmissionFunction(BlackbodySpectrum emissionFunction)
-
getBeta
public double getBeta()
-
getAlpha
public double getAlpha()
-
setCoefficients
public void setCoefficients(double alpha, double beta)
-
getOrder
public int getOrder()
-
setOrder
public void setOrder(int order)
Sets the integration order n. Updates the exponential integral associated with thisCompositionProductupon completion.- Parameters:
order- an integer in the range from 1 to 4 inclusively
-
getPrefix
public String getPrefix()
- Overrides:
getPrefixin classAbstractIntegrator
-
-