Package pulse.problem.schemes
Class OneDimensionalScheme
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.problem.schemes.DifferenceScheme
-
- pulse.problem.schemes.OneDimensionalScheme
-
- All Implemented Interfaces:
Serializable,Descriptive,Reflexive
- Direct Known Subclasses:
ExplicitScheme,ImplicitScheme
public abstract class OneDimensionalScheme extends DifferenceScheme
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedOneDimensionalScheme()protectedOneDimensionalScheme(NumericProperty timeLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclearArrays()voidfinaliseStep()Overwrites previously calculated temperature values with the calculations made at the current time stepdouble[]getCurrentSolution()double[]getPreviousSolution()voidsetSolutionAt(int i, double v)doublesignal()-
Methods inherited from class pulse.problem.schemes.DifferenceScheme
areDetailsHidden, copy, copyFrom, domain, getCurrentPulseValue, getDiscretePulse, getGrid, getTimeInterval, getTimeLimit, initFrom, listedKeywords, normalOperation, prepare, prepareStep, pulse, runTimeSequence, runTimeSequence, scaleSolution, set, setDetailsHidden, setGrid, setTimeInterval, setTimeLimit, timeStep, toString
-
Methods inherited from class pulse.util.PropertyHolder
addListener, 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
-
-
-
-
Constructor Detail
-
OneDimensionalScheme
protected OneDimensionalScheme()
-
OneDimensionalScheme
protected OneDimensionalScheme(NumericProperty timeLimit)
-
-
Method Detail
-
clearArrays
public void clearArrays()
- Specified by:
clearArraysin classDifferenceScheme
-
signal
public double signal()
- Specified by:
signalin classDifferenceScheme
-
finaliseStep
public void finaliseStep() throws SolverExceptionOverwrites previously calculated temperature values with the calculations made at the current time step- Specified by:
finaliseStepin classDifferenceScheme- Throws:
SolverException- if the calculation failed
-
getPreviousSolution
public double[] getPreviousSolution()
-
getCurrentSolution
public double[] getCurrentSolution()
-
setSolutionAt
public void setSolutionAt(int i, double v)
-
-