Package pulse.problem.schemes.rte.exact
Class NonscatteringRadiativeTransfer
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.problem.schemes.rte.RadiativeTransferSolver
-
- pulse.problem.schemes.rte.exact.NonscatteringRadiativeTransfer
-
- All Implemented Interfaces:
Serializable,Descriptive,Reflexive
- Direct Known Subclasses:
NonscatteringAnalyticalDerivatives,NonscatteringDiscreteDerivatives
public abstract class NonscatteringRadiativeTransfer extends RadiativeTransferSolver
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedNonscatteringRadiativeTransfer(ParticipatingMedium problem, Grid grid)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RTECalculationStatuscompute(double[] array)The superclass method will update the interpolation that the blackbody spectrum uses to evaluate the temperature profile and calculate the radiosities.ANORMALstatus is always returned.protected voidflux(int uIndex)voidfluxes()Calculates the radiative fluxes on the grid specified in the constructor arguments.StringgetDescriptor()If not null, will return the prefix, otherwise calls the superclass method.BlackbodySpectrumgetEmissionFunction()InstanceDescriptor<CompositionProduct>getInstanceDescriptor()CompositionProductgetQuadrature()Retrieves the quadrature that is used to evaluate the composition product invoked when calculating the radiative fluxes.doublegetRadiosityFront()doublegetRadiosityRear()voidinit(ParticipatingMedium p, Grid grid)Retrieves the parameters frompandgridneeded to run the calculations.Resets the flux arrays.List<Property>listedTypes()By default, collects a list of default properties corresponding to types defined by listedKeywords().voidset(NumericPropertyKeyword type, NumericProperty property)An abstract method, which must be overriden to gain access over setting the values of all relevant (selected by the programmer)NumericProperties in subclasses ofAccessible.voidsetEmissionFunction(BlackbodySpectrum emissionFunction)voidsetQuadrature(CompositionProduct specialIntegrator)Sets the quadrature and updates its spectral function to that specified by this object.StringtoString()-
Methods inherited from class pulse.problem.schemes.rte.RadiativeTransferSolver
addRTEListener, fireStatusUpdate, getFluxes, getPrefix, getRTEListeners, ignoreSiblings, interpolateTemperatureProfile, opticalCoordinateAt, setFluxes
-
Methods inherited from class pulse.util.PropertyHolder
addListener, areDetailsHidden, data, describe, firePropertyChanged, getListeners, initListeners, isListedNumericType, isListedParameter, listedKeywords, numericData, parameterListChanged, removeListeners, setPrefix, updateProperties, updateProperty
-
Methods inherited from class pulse.util.Accessible
accessibleChildren, genericProperties, genericProperty, numericProperties, numericProperty, property, update, update
-
Methods inherited from class pulse.util.UpwardsNavigable
addHierarchyListener, getHierarchyListeners, getParent, identify, removeHierarchyListener, removeHierarchyListeners, setParent, specificAncestor, tellParent
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface pulse.util.Descriptive
describe
-
-
-
-
Constructor Detail
-
NonscatteringRadiativeTransfer
protected NonscatteringRadiativeTransfer(ParticipatingMedium problem, Grid grid)
-
-
Method Detail
-
init
public void init(ParticipatingMedium p, Grid grid)
Description copied from class:RadiativeTransferSolverRetrieves the parameters frompandgridneeded to run the calculations.Resets the flux arrays.- Overrides:
initin classRadiativeTransferSolvergrid- the grid
-
compute
public RTECalculationStatus compute(double[] array)
The superclass method will update the interpolation that the blackbody spectrum uses to evaluate the temperature profile and calculate the radiosities.ANORMALstatus is always returned.- Specified by:
computein classRadiativeTransferSolver- Parameters:
array-- Returns:
- the status of calculation
-
fluxes
public void fluxes()
Calculates the radiative fluxes on the grid specified in the constructor arguments. This uses the values of radiosities and involves calculating the composition product using the selected quadratures.- See Also:
CompositionProduct
-
flux
protected void flux(int uIndex)
-
getQuadrature
public CompositionProduct getQuadrature()
Retrieves the quadrature that is used to evaluate the composition product invoked when calculating the radiative fluxes.- Returns:
- the quadrature
-
setQuadrature
public void setQuadrature(CompositionProduct specialIntegrator)
Sets the quadrature and updates its spectral function to that specified by this object.- Parameters:
specialIntegrator- the quadrature used to evaluate the composition product
-
getEmissionFunction
public BlackbodySpectrum getEmissionFunction()
-
setEmissionFunction
public void setEmissionFunction(BlackbodySpectrum emissionFunction)
-
set
public void set(NumericPropertyKeyword type, NumericProperty property)
Description copied from class:AccessibleAn abstract method, which must be overriden to gain access over setting the values of all relevant (selected by the programmer)
NumericProperties in subclasses ofAccessible. Typically this involves aswitchstatement that goes through the different options for thetypeand invokes differentset(...)methods to update the matchingNumericPropertywithproperty.- Specified by:
setin classAccessible- Parameters:
type- the type, which must be equal by definition toproperty.getType().property- the property, which contains new information.
-
listedTypes
public List<Property> listedTypes()
Description copied from class:PropertyHolderBy default, collects a list of default properties corresponding to types defined by listedKeywords(). However, this method is overridable to include non-numeric properties.
- Overrides:
listedTypesin classPropertyHolder- Returns:
- a list of
Propertyinstances, which have been explicitly marked as a listed parameter for thisPropertyHolder.
-
getInstanceDescriptor
public InstanceDescriptor<CompositionProduct> getInstanceDescriptor()
-
getDescriptor
public String getDescriptor()
Description copied from class:PropertyHolderIf not null, will return the prefix, otherwise calls the superclass method.- Overrides:
getDescriptorin classPropertyHolder- Returns:
- the descriptor
- See Also:
Group.getSimpleName()
-
getRadiosityFront
public double getRadiosityFront()
-
getRadiosityRear
public double getRadiosityRear()
-
-