![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Output some useful messages. More...
Go to the source code of this file.
Functions | |
| void | fasp_itinfo (const INT ptrlvl, const INT stop_type, const INT iter, const REAL relres, const REAL absres, const REAL factor) |
| Print out iteration information for iterative solvers. More... | |
| void | fasp_amgcomplexity (const AMG_data *mgl, const SHORT prtlvl) |
| Print level and complexity information of AMG. More... | |
| void | fasp_amgcomplexity_bsr (const AMG_data_bsr *mgl, const SHORT prtlvl) |
| Print complexities of AMG method for BSR matrices. More... | |
| void | fasp_cputime (const char *message, const REAL cputime) |
| Print CPU walltime. More... | |
| void | fasp_message (const INT ptrlvl, const char *message) |
| Print output information if necessary. More... | |
| void | fasp_chkerr (const SHORT status, const char *fctname) |
| Check error status and print out error messages before quit. More... | |
Output some useful messages.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file AuxMessage.c.
Print level and complexity information of AMG.
| mgl | Multilevel hierachy for AMG |
| prtlvl | How much information to print |
Definition at line 84 of file AuxMessage.c.
| void void fasp_amgcomplexity_bsr | ( | const AMG_data_bsr * | mgl, |
| const SHORT | prtlvl | ||
| ) |
Print complexities of AMG method for BSR matrices.
| mgl | Multilevel hierachy for AMG |
| prtlvl | How much information to print |
Definition at line 136 of file AuxMessage.c.
| void fasp_chkerr | ( | const SHORT | status, |
| const char * | fctname | ||
| ) |
Check error status and print out error messages before quit.
| status | Error status |
| fctname | Function name where this routine is called |
Definition at line 213 of file AuxMessage.c.
| void void fasp_cputime | ( | const char * | message, |
| const REAL | cputime | ||
| ) |
Print CPU walltime.
| message | Some string to print out |
| cputime | Walltime since start to end |
Definition at line 179 of file AuxMessage.c.
| void fasp_itinfo | ( | const INT | ptrlvl, |
| const INT | stop_type, | ||
| const INT | iter, | ||
| const REAL | relres, | ||
| const REAL | absres, | ||
| const REAL | factor | ||
| ) |
Print out iteration information for iterative solvers.
| ptrlvl | Level for output |
| stop_type | Type of stopping criteria |
| iter | Number of iterations |
| relres | Relative residual of different kinds |
| absres | Absolute residual of different kinds |
| factor | Contraction factor |
Modified by Chensong Zhang on 03/28/2013: Output initial guess Modified by Chensong Zhang on 04/05/2013: Fix a typo
Definition at line 41 of file AuxMessage.c.
| void fasp_message | ( | const INT | ptrlvl, |
| const char * | message | ||
| ) |
Print output information if necessary.
| ptrlvl | Level for output |
| message | Error message to print |
Definition at line 196 of file AuxMessage.c.