Package pulse.problem.schemes.solvers
Class ImplicitCoupledSolverNL
- 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.ImplicitScheme
-
- pulse.problem.schemes.CoupledImplicitScheme
-
- pulse.problem.schemes.solvers.ImplicitCoupledSolver
-
- pulse.problem.schemes.solvers.ImplicitCoupledSolverNL
-
- All Implemented Interfaces:
Serializable,FixedPointIterations,Solver<ParticipatingMedium>,Descriptive,Reflexive
public class ImplicitCoupledSolverNL extends ImplicitCoupledSolver implements FixedPointIterations
- Author:
- Artem Lunev
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImplicitCoupledSolverNL()ImplicitCoupledSolverNL(NumericProperty N, NumericProperty timeFactor, NumericProperty timeLimit)
-
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)Calculates the solution at the boundaries using the boundary conditions specific to the problem statement and runs the tridiagonal matrix algorithm to evaluate solution at the intermediate grid points.StringtoString()Prints out the description of this problem type.-
Methods inherited from class pulse.problem.schemes.solvers.ImplicitCoupledSolver
evalRightBoundary, firstBeta, prepare, solve
-
Methods inherited from class pulse.problem.schemes.CoupledImplicitScheme
domain, finaliseStep, getCalculationStatus, getCoupling, isAutoUpdateFluxes, listedKeywords, normalOperation, setAutoUpdateFluxes, setCalculationStatus, setCoupling
-
Methods inherited from class pulse.problem.schemes.ImplicitScheme
getTridiagonalMatrixAlgorithm, leftBoundary, setTridiagonalMatrixAlgorithm
-
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, 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
-
ImplicitCoupledSolverNL
public ImplicitCoupledSolverNL()
-
ImplicitCoupledSolverNL
public ImplicitCoupledSolverNL(NumericProperty N, NumericProperty timeFactor, NumericProperty timeLimit)
-
-
Method Detail
-
timeStep
public void timeStep(int m) throws SolverExceptionDescription copied from class:ImplicitSchemeCalculates the solution at the boundaries using the boundary conditions specific to the problem statement and runs the tridiagonal matrix algorithm to evaluate solution at the intermediate grid points.- Overrides:
timeStepin classImplicitScheme- Parameters:
m- the time step- Throws:
SolverException- if the calculation failed
-
iteration
public void iteration(int m) throws SolverExceptionDescription copied from interface:FixedPointIterationsPerforms an iteration at timem- Specified by:
iterationin interfaceFixedPointIterations- Parameters:
m- time step- Throws:
SolverException- if the calculation failed
-
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
-
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.
-
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.
-
toString
public String toString()
Description copied from class:ImplicitSchemePrints out the description of this problem type.- Overrides:
toStringin classImplicitCoupledSolver- Returns:
- a verbose description of the problem.
-
-