Package pulse.problem.schemes.solvers
Class ExplicitCoupledSolverNL
- java.lang.Object
-
- pulse.util.UpwardsNavigable
-
- pulse.util.Group
-
- pulse.util.Accessible
-
- pulse.util.PropertyHolder
-
- pulse.problem.schemes.DifferenceScheme
-
- pulse.problem.schemes.OneDimensionalScheme
-
- pulse.problem.schemes.ExplicitScheme
-
- pulse.problem.schemes.solvers.ExplicitCoupledSolver
-
- pulse.problem.schemes.solvers.ExplicitCoupledSolverNL
-
- All Implemented Interfaces:
Serializable,FixedPointIterations,Solver<ParticipatingMedium>,Descriptive,Reflexive
public class ExplicitCoupledSolverNL extends ExplicitCoupledSolver implements FixedPointIterations
- Author:
- Artem Lunev
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExplicitCoupledSolverNL()ExplicitCoupledSolverNL(NumericProperty N, NumericProperty timeFactor)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DifferenceSchemecopy()Creates aDifferenceScheme, which is an exact copy of this object.voidfinaliseIteration(double[] V)Finalises the current iteration.By default, does nothing.NumericPropertygetNonlinearPrecision()voiditeration(int m)Performs an iteration at timemvoidset(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.voidsetNonlinearPrecision(NumericProperty nonlinearPrecision)voidtimeStep(int m)StringtoString()Prints out the description of this problem type.-
Methods inherited from class pulse.problem.schemes.solvers.ExplicitCoupledSolver
domain, explicitSolution, finaliseStep, getCoupling, isAutoUpdateFluxes, normalOperation, phi, prepare, setAutoUpdateFluxes, setCalculationStatus, setCoupling, solve
-
Methods inherited from class pulse.problem.schemes.OneDimensionalScheme
clearArrays, getCurrentSolution, getPreviousSolution, setSolutionAt, signal
-
Methods inherited from class pulse.problem.schemes.DifferenceScheme
areDetailsHidden, copyFrom, getCurrentPulseValue, getDiscretePulse, getGrid, getTimeInterval, getTimeLimit, initFrom, listedKeywords, prepareStep, pulse, runTimeSequence, runTimeSequence, scaleSolution, setDetailsHidden, setGrid, setTimeInterval, setTimeLimit
-
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface pulse.problem.schemes.FixedPointIterations
doIterations
-
-
-
-
Constructor Detail
-
ExplicitCoupledSolverNL
public ExplicitCoupledSolverNL()
-
ExplicitCoupledSolverNL
public ExplicitCoupledSolverNL(NumericProperty N, NumericProperty timeFactor)
-
-
Method Detail
-
timeStep
public void timeStep(int m) throws SolverException- Overrides:
timeStepin classExplicitCoupledSolver- Throws:
SolverException
-
iteration
public void iteration(int m)
Description copied from interface:FixedPointIterationsPerforms an iteration at timem- Specified by:
iterationin interfaceFixedPointIterations- Parameters:
m- time step
-
finaliseIteration
public void finaliseIteration(double[] V) throws SolverExceptionDescription copied from interface:FixedPointIterationsFinalises the current iteration.By default, does nothing.- Specified by:
finaliseIterationin interfaceFixedPointIterations- Parameters:
V- the current iteration- Throws:
SolverException- if the calculation failed
-
copy
public DifferenceScheme copy()
Description copied from class:DifferenceSchemeCreates aDifferenceScheme, which is an exact copy of this object.- Specified by:
copyin classDifferenceScheme- Returns:
- an exact copy of this
DifferenceScheme.
-
getNonlinearPrecision
public final NumericProperty getNonlinearPrecision()
-
setNonlinearPrecision
public final void setNonlinearPrecision(NumericProperty nonlinearPrecision)
-
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 classDifferenceScheme- Parameters:
type- the type, which must be equal by definition toproperty.getType().property- the property, which contains new information.
-
toString
public String toString()
Description copied from class:ExplicitCoupledSolverPrints out the description of this problem type.- Overrides:
toStringin classExplicitCoupledSolver- Returns:
- a verbose description of the problem.
-
-