Package pulse.problem.schemes.solvers
Class ImplicitCoupledSolver
- 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
-
- All Implemented Interfaces:
Serializable,Solver<ParticipatingMedium>,Descriptive,Reflexive
- Direct Known Subclasses:
ImplicitCoupledSolverNL
public abstract class ImplicitCoupledSolver extends CoupledImplicitScheme implements Solver<ParticipatingMedium>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ImplicitCoupledSolver()ImplicitCoupledSolver(NumericProperty gridDensity, NumericProperty timeFactor, NumericProperty timeLimit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleevalRightBoundary(double alphaN, double betaN)doublefirstBeta()voidprepare(Problem problem)Contains preparatory steps to ensure smooth running of the solver.This includes creating aDiscretePulseobject and adjusting the grid of this scheme to match theDiscretePulsecreated for thisproblemFinally, a heating curve is cleared from the previously calculated values.voidsolve(ParticipatingMedium problem)Calculates the solution of thetand stores it in the respectiveHeatingCurve.StringtoString()Prints out the description of this problem type.-
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, timeStep
-
Methods inherited from class pulse.problem.schemes.OneDimensionalScheme
clearArrays, getCurrentSolution, getPreviousSolution, setSolutionAt, signal
-
Methods inherited from class pulse.problem.schemes.DifferenceScheme
areDetailsHidden, copy, copyFrom, getCurrentPulseValue, getDiscretePulse, getGrid, getTimeInterval, getTimeLimit, initFrom, prepareStep, pulse, runTimeSequence, runTimeSequence, scaleSolution, set, 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
-
-
-
-
Constructor Detail
-
ImplicitCoupledSolver
public ImplicitCoupledSolver()
-
ImplicitCoupledSolver
public ImplicitCoupledSolver(NumericProperty gridDensity, NumericProperty timeFactor, NumericProperty timeLimit)
-
-
Method Detail
-
prepare
public void prepare(Problem problem) throws SolverException
Description copied from class:DifferenceSchemeContains preparatory steps to ensure smooth running of the solver.This includes creating a
DiscretePulseobject and adjusting the grid of this scheme to match theDiscretePulsecreated for thisproblemFinally, a heating curve is cleared from the previously calculated values.All subclasses of
DifferenceSchemeshould override and explicitly call this superclass method where appropriate.- Overrides:
preparein classImplicitScheme- Parameters:
problem- the heat problem to be solved- Throws:
SolverException
-
solve
public void solve(ParticipatingMedium problem) throws SolverException
Description copied from interface:SolverCalculates the solution of thetand stores it in the respectiveHeatingCurve.- Specified by:
solvein interfaceSolver<ParticipatingMedium>- Parameters:
problem- - an accepted instance ofT- Throws:
SolverException
-
toString
public String toString()
Description copied from class:ImplicitSchemePrints out the description of this problem type.- Overrides:
toStringin classImplicitScheme- Returns:
- a verbose description of the problem.
-
evalRightBoundary
public double evalRightBoundary(double alphaN, double betaN)- Specified by:
evalRightBoundaryin classImplicitScheme
-
firstBeta
public double firstBeta()
- Specified by:
firstBetain classImplicitScheme
-
-