Serial functions

Theses routines solve the non linear set of equations with serials Newton Krylov methods.

runCompute

int runCompute(System_of_eqs &syst)
Parameters:syst (in) – Kadath system of equations
Returns:0 if no error, 1 elsewhere

This function Solve the system of equation provide in the Kadath format.

kinSolve

int kinSolve(System_of_eqs &syst, int ftol, int stol, int krylovMethod, int maxl, int maxlrst, int strategy)
Parameters:
  • syst (in) – Kadath system of equations
  • ftol (in) – Function norm stopping tolerance
  • stol (in) – Scaled step stopping tolerance
  • stol (in) – Scaled step stopping tolerance
  • krylovMethod (in) – linear iterative Krylov method
  • maxl (in) – maximum dimension of the Krylov subspace to be used
  • maxlrst (in) – maximum number of restarts (only for SPGMR)
Scaled step stopping tolerance
param stol (in):
 Scaled step stopping tolerance
return:0 if no error, 1 elsewhere

This function Solve the system of equation provide in the Kadath format.