Package pulse.problem.schemes
Interface FixedPointIterations
-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
ExplicitCoupledSolverNL
,ExplicitNonlinearSolver
,ImplicitCoupledSolverNL
,ImplicitNonlinearSolver
,ImplicitTwoTemperatureSolver
,MixedCoupledSolverNL
public interface FixedPointIterations extends Serializable
- See Also:
- Wiki page
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default void
doIterations(double[] V, double error, int m)
Performs iterations until the convergence criterion is satisfied.The latter consists in having a difference two consequent iterations of V less than the specified error.default void
finaliseIteration(double[] V)
Finalises the current iteration.By default, does nothing.void
iteration(int m)
Performs an iteration at timem
-
-
-
Method Detail
-
doIterations
default void doIterations(double[] V, double error, int m) throws SolverException
Performs iterations until the convergence criterion is satisfied.The latter consists in having a difference two consequent iterations of V less than the specified error. At the end of each iteration, callsfinaliseIteration()
.- Parameters:
V
- the calculation arrayerror
- used in the convergence criterionm
- time step- Throws:
SolverException
- if the calculation failed- See Also:
finaliseIteration()
,iteration()
-
iteration
void iteration(int m) throws SolverException
Performs an iteration at timem
- Parameters:
m
- time step- Throws:
SolverException
- if the calculation failed
-
finaliseIteration
default void finaliseIteration(double[] V) throws SolverException
Finalises the current iteration.By default, does nothing.- Parameters:
V
- the current iteration- Throws:
SolverException
- if the calculation failed
-
-