Package pulse.problem.schemes
Class ADIScheme
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.problem.schemes.DifferenceScheme
-
- pulse.problem.schemes.ADIScheme
-
- All Implemented Interfaces:
Serializable,Descriptive,Reflexive
- Direct Known Subclasses:
ADILinearisedSolver
public abstract class ADIScheme extends DifferenceScheme
AnADISchemeuses aGrid2Dto provide numerical capabilities needed to solve aProblem.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ADIScheme()Creates a newADISchemewith default values of grid density and time factor.ADIScheme(NumericProperty N, NumericProperty timeFactor)Creates anADISchemewith the specified arguments.ADIScheme(NumericProperty N, NumericProperty timeFactor, NumericProperty timeLimit)Creates anADISchemewith the specified arguments.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidprepareStep(int m)Contains only an empty statement, as the pulse needs to be calculated not only for the time stepmbut also accounting for the radial coordinateStringtoString()Prints out the description of this problem type.-
Methods inherited from class pulse.problem.schemes.DifferenceScheme
areDetailsHidden, clearArrays, copy, copyFrom, domain, finaliseStep, getCurrentPulseValue, getDiscretePulse, getGrid, getTimeInterval, getTimeLimit, initFrom, listedKeywords, normalOperation, prepare, pulse, runTimeSequence, runTimeSequence, scaleSolution, set, setDetailsHidden, setGrid, setTimeInterval, setTimeLimit, signal, timeStep
-
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
-
ADIScheme
public ADIScheme()
Creates a newADISchemewith default values of grid density and time factor.
-
ADIScheme
public ADIScheme(NumericProperty N, NumericProperty timeFactor)
Creates anADISchemewith the specified arguments. This creates an associatedGrid2Dobject.- Parameters:
N- the grid densitytimeFactor- the time factor (τF)
-
ADIScheme
public ADIScheme(NumericProperty N, NumericProperty timeFactor, NumericProperty timeLimit)
Creates anADISchemewith the specified arguments. This creates an associatedGrid2Dobject.- Parameters:
N- the grid densitytimeFactor- the time factor (τF)timeLimit- a custom time limit (tlim)
-
-
Method Detail
-
toString
public String toString()
Prints out the description of this problem type.- Overrides:
toStringin classDifferenceScheme- Returns:
- a verbose description of the problem.
-
prepareStep
public void prepareStep(int m)
Contains only an empty statement, as the pulse needs to be calculated not only for the time stepmbut also accounting for the radial coordinate- Overrides:
prepareStepin classDifferenceScheme- Parameters:
m- thte time step
-
-