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 protected
OneDimensionalScheme()
protected
OneDimensionalScheme(NumericProperty timeLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
clearArrays()
void
finaliseStep()
Overwrites previously calculated temperature values with the calculations made at the current time stepdouble[]
getCurrentSolution()
double[]
getPreviousSolution()
void
setSolutionAt(int i, double v)
double
signal()
-
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:
clearArrays
in classDifferenceScheme
-
signal
public double signal()
- Specified by:
signal
in classDifferenceScheme
-
finaliseStep
public void finaliseStep() throws SolverException
Overwrites previously calculated temperature values with the calculations made at the current time step- Specified by:
finaliseStep
in classDifferenceScheme
- Throws:
SolverException
- if the calculation failed
-
getPreviousSolution
public double[] getPreviousSolution()
-
getCurrentSolution
public double[] getCurrentSolution()
-
setSolutionAt
public void setSolutionAt(int i, double v)
-
-