|
TBCI Numerical high perf. C++ Library 2.8.0
|
This provides some parameters that control the behavior of various functions in the TBCI library. More...
#include "tbci/basics.h"

Go to the source code of this file.
Macros | |
| #define | _TBCI_FLAG_ERRCHECK 1 |
| #define | _TBCI_FLAG_EXPCHECK 2 |
| #define | _TBCI_FLAG_ABORT 4 |
| #define | _TBCI_FLAG_EXCEPT 8 |
| #define | _TBCI_FLAG_EXACTSUM 16 |
| #define | _TBCI_FLAG_EXACTSUM2 32 |
| #define | _TBCI_CWD_DEFAULT (_TBCI_FLAG_ERRCHECK | _TBCI_FLAG_EXPCHECK | _TBCI_FLAG_EXCEPT) |
| #define | GET_T_CWD tbci_control |
| #define | CWD_CTRL_FCTS(NAME, FLAG) |
| #define | CWD_CTRL_DISABLED(NAME) |
Functions | |
| void | set_errcheck (bool val) |
| unsigned int | do_errcheck () |
| void | set_expcheck (bool val) |
| unsigned int | do_expcheck () |
| void | set_abort (bool val) |
| unsigned int | do_abort () |
| void | set_except (bool val) |
| unsigned int | do_except () |
| void | set_exactsum (bool val) |
| unsigned int | do_exactsum () |
| void | set_exactsum2 (bool val) |
| unsigned int | do_exactsum2 () |
Variables | |
| unsigned int | tbci_control |
This provides some parameters that control the behavior of various functions in the TBCI library.
The behavior of the TBCI lib is controlled by the following settings:
The TBCI configuration is stored in the control word TBCI::tbci_control; this variable is contained (weakly) in the smp.cc file (because that's the only place in TBCI where we have global static variables). If you don't link with the smp object (by -ltbcismp), you need to put
in your main program. (However, as SMP support is enabled by default nowadays, chances are that you'll have to link against -ltbcismp anyway.)
Definition in file tbci_param.h.
| #define _TBCI_CWD_DEFAULT (_TBCI_FLAG_ERRCHECK | _TBCI_FLAG_EXPCHECK | _TBCI_FLAG_EXCEPT) |
Definition at line 69 of file tbci_param.h.
| #define _TBCI_FLAG_ABORT 4 |
Definition at line 64 of file tbci_param.h.
Referenced by do_abort().
| #define _TBCI_FLAG_ERRCHECK 1 |
Definition at line 62 of file tbci_param.h.
Referenced by do_errcheck().
| #define _TBCI_FLAG_EXACTSUM 16 |
Definition at line 66 of file tbci_param.h.
Referenced by do_exactsum().
| #define _TBCI_FLAG_EXACTSUM2 32 |
Definition at line 67 of file tbci_param.h.
Referenced by do_exactsum2().
| #define _TBCI_FLAG_EXCEPT 8 |
Definition at line 65 of file tbci_param.h.
Referenced by do_except().
| #define _TBCI_FLAG_EXPCHECK 2 |
Definition at line 63 of file tbci_param.h.
Referenced by do_expcheck().
| #define CWD_CTRL_DISABLED | ( | NAME | ) |
Definition at line 127 of file tbci_param.h.
| #define CWD_CTRL_FCTS | ( | NAME, | |
| FLAG ) |
Definition at line 112 of file tbci_param.h.
| #define GET_T_CWD tbci_control |
Definition at line 109 of file tbci_param.h.
|
inline |
Definition at line 148 of file tbci_param.h.
References _TBCI_FLAG_ABORT.
|
inline |
Definition at line 141 of file tbci_param.h.
References _TBCI_FLAG_ERRCHECK.
|
inline |
Definition at line 150 of file tbci_param.h.
References _TBCI_FLAG_EXACTSUM.
Referenced by dot(), Matrix< T >::fabssqr(), TSMatrix< T >::fabssqr(), Vector< T >::fabssqr(), job_vec_dot(), job_vec_fabssqr(), job_vec_mult(), job_vec_sum(), Vector< T >::operator*(), and Vector< T >::sum().
|
inline |
Definition at line 151 of file tbci_param.h.
References _TBCI_FLAG_EXACTSUM2, and NAMESPACE_END.
Referenced by do_bdmat_vec_dotmult(), do_bdmat_vec_mult(), do_bdmat_vec_mult_lnw(), do_bdmat_vec_mult_lnw_opt(), do_bdmat_vec_transmult(), do_bdmat_vec_transmult_lnw(), do_bdmat_vec_transmult_lnw_opt(), CSCMatrix< T >::mult(), CSCMatrix< T >::multf(), CSCMatrix< T >::operator*(), CSCMatrix< T >::operator*(), and CSCMatrix< T >::transMult().
|
inline |
Definition at line 149 of file tbci_param.h.
References _TBCI_FLAG_EXCEPT.
|
inline |
Definition at line 144 of file tbci_param.h.
References _TBCI_FLAG_EXPCHECK.
Referenced by DiagPreconditioner< T, MatrixType >::update().
|
inline |
Definition at line 148 of file tbci_param.h.
|
inline |
Definition at line 141 of file tbci_param.h.
|
inline |
Definition at line 150 of file tbci_param.h.
|
inline |
Definition at line 151 of file tbci_param.h.
|
inline |
Definition at line 149 of file tbci_param.h.
|
inline |
Definition at line 144 of file tbci_param.h.
|
extern |