monolish  0.17.1
MONOlithic LInear equation Solvers for Highly-parallel architecture
Functions
Check errors

error check functions. More...

Functions

bool monolish::util::solver_check (const int err)
 check error More...
 

Detailed Description

error check functions.

Function Documentation

◆ solver_check()

bool monolish::util::solver_check ( const int  err)

check error

Parameters
[in]errsolver err code
Note
  • MONOLISH_SOLVER_SUCCESS 0
  • MONOLISH_SOLVER_SIZE_ERROR -1
  • MONOLISH_SOLVER_MAXITER -2
  • MONOLISH_SOLVER_BREAKDOWN -3
  • MONOLISH_SOLVER_RESIDUAL_NAN -4
  • MONOLISH_SOLVER_NOT_IMPL -10