Package pulse.problem.schemes.rte.dom
Class SuccessiveOverrelaxation
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.problem.schemes.rte.dom.IterativeSolver
-
- pulse.problem.schemes.rte.dom.SuccessiveOverrelaxation
-
- All Implemented Interfaces:
Serializable,Descriptive,Reflexive
public class SuccessiveOverrelaxation extends IterativeSolver
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description SuccessiveOverrelaxation()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RTECalculationStatusdoIterations(AdaptiveIntegrator integrator)De-facto solves the radiative transfer problem iteratively.NumericPropertygetRelaxationParameter()Set<NumericPropertyKeyword>listedKeywords()By default, this will search the children of thisPropertyHolderto collect the types of their listed numeric parameters recursively.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.voidsetRelaxationParameter(NumericProperty p)StringtoString()-
Methods inherited from class pulse.problem.schemes.rte.dom.IterativeSolver
getIterationError, getIterationErrorTolerance, getMaxIterations, sanityCheck, setIterationErrorTolerance, setMaxIterations
-
Methods inherited from class pulse.util.PropertyHolder
addListener, areDetailsHidden, data, describe, firePropertyChanged, getDescriptor, getListeners, getPrefix, ignoreSiblings, initListeners, isListedNumericType, isListedParameter, listedTypes, 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
-
-
-
-
Method Detail
-
doIterations
public RTECalculationStatus doIterations(AdaptiveIntegrator integrator)
Description copied from class:IterativeSolverDe-facto solves the radiative transfer problem iteratively.- Specified by:
doIterationsin classIterativeSolver- Parameters:
integrator- the integerator embedded in the iterative approach- Returns:
- a calculation status
-
getRelaxationParameter
public NumericProperty getRelaxationParameter()
-
setRelaxationParameter
public void setRelaxationParameter(NumericProperty p)
-
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.- Overrides:
setin classIterativeSolver- Parameters:
type- the type, which must be equal by definition toproperty.getType().property- the property, which contains new information.
-
listedKeywords
public Set<NumericPropertyKeyword> listedKeywords()
Description copied from class:PropertyHolderBy default, this will search the children of this
PropertyHolderto collect the types of their listed numeric parameters recursively.- Overrides:
listedKeywordsin classIterativeSolver- Returns:
- a set of
NumericPropertyKeywordinstances, which have been explicitly marked as a listed parameter for thisPropertyHolder.
-
toString
public String toString()
- Overrides:
toStringin classIterativeSolver
-
-