Solver#

class classes.Solver.Solver#

Solver that conducts the computation, Time-stepping, Newton Rhapson method and numerical tangent if needed

Constructor Summary
Solver(this_simulation)#

Initialise the solver

Property Summary
MAX_ITERATIONS#

maximal number of Newton iterations

TOLERANCE#

tolerance of Newton solver

Method Summary
compute_numerical_tangent(~, this_integrator, this_system, zn, xn1, time_n)#

Pre-allocate tangent matrix, initialized with zeros:

newton_initial_guess(~, zn1, this_system, this_simulation, DT)#

Initial Guess for Newton-Rhapson-method

newton_iterate(this_integrator, this_system, this_simulation, zn, zn1, time_n)#

Set iteration-index to zero and residual above tolerance

solve(this_simulation, this_system, this_integrator)#

Procedure of time-stepping Read solution vector and set present zn1 to initial value