ESYS13  Revision_
Defines | Enumerations | Functions
error.h File Reference
#include "system_dep.h"
#include "types.h"
#include <stdio.h>

Go to the source code of this file.

Defines

#define LenString_MAX   FILENAME_MAX*2
#define LenErrorMsg_MAX   LenString_MAX
#define omp_get_max_threads   serial_get_max_threads
#define omp_get_thread_num   serial_get_thread_num

Enumerations

enum  Esys_ErrorCodeType {
  NO_ERROR, WARNING, DIVERGED, VALUE_ERROR,
  TYPE_ERROR, MEMORY_ERROR, IO_ERROR, ZERO_DIVISION_ERROR,
  EOF_ERROR, FLOATING_POINT_ERROR, INDEX_ERROR, OS_ERROR,
  OVERFLOW_ERROR, SYSTEM_ERROR, ESYS_MPI_ERROR, NO_PROGRESS_ERROR
}

Functions

double Esys_timer (void)
bool_t Esys_checkPtr (void *)
void Esys_resetError (void)
void Esys_setError (Esys_ErrorCodeType err, char *msg)
bool_t Esys_noError (void)
Esys_ErrorCodeType Esys_getErrorType (void)
char * Esys_getErrorMessage (void)
int serial_get_max_threads (void)
int serial_get_thread_num (void)

Define Documentation

#define LenString_MAX   FILENAME_MAX*2

Enumeration Type Documentation

Enumerator:
NO_ERROR 
WARNING 
DIVERGED 
VALUE_ERROR 
TYPE_ERROR 
MEMORY_ERROR 
IO_ERROR 
ZERO_DIVISION_ERROR 
EOF_ERROR 
FLOATING_POINT_ERROR 
INDEX_ERROR 
OS_ERROR 
OVERFLOW_ERROR 
SYSTEM_ERROR 
ESYS_MPI_ERROR 
NO_PROGRESS_ERROR 

Function Documentation

bool_t Esys_checkPtr ( void *  )
char* Esys_getErrorMessage ( void  )
bool_t Esys_noError ( void  )

References Esys_getErrorType(), and NO_ERROR.

Referenced by dudley::checkPasoError(), Dudley_Assemble_CopyNodalData(), Dudley_noError(), Esys_MPIInfo_noError(), Esys_setError(), Finley_Assemble_CopyNodalData(), Finley_noError(), Paso_Connector_alloc(), Paso_Connector_unroll(), Paso_Coupler_alloc(), Paso_FCT_FluxLimiter_alloc(), Paso_FCT_setLowOrderOperator(), Paso_FCT_Solver_alloc(), Paso_FCT_Solver_getSafeTimeStepSize(), Paso_FCT_Solver_updateNL(), Paso_Function_LinearSystem_alloc(), Paso_MergedSolver_alloc(), Paso_MKL(), Paso_Pattern_borrowColoringPointer(), Paso_Pattern_color(), Paso_Pattern_fromIndexListArray(), Paso_Pattern_getSubpattern(), Paso_Pattern_unrollBlocks(), Paso_Preconditioner_alloc(), Paso_Preconditioner_AMG_alloc(), Paso_Preconditioner_AMG_buildInterpolationOperator(), Paso_Preconditioner_AMG_buildInterpolationOperatorBlock(), Paso_Preconditioner_AMG_getProlongation(), Paso_Preconditioner_AMG_getRestriction(), Paso_Preconditioner_AMG_Root_alloc(), Paso_Preconditioner_LocalAMG_alloc(), Paso_Preconditioner_LocalAMG_getProlongation(), Paso_Preconditioner_LocalAMG_RungeStuebenSearch(), Paso_Preconditioner_LocalSmoother_alloc(), Paso_ReactiveSolver_getSafeTimeStepSize(), Paso_RHS_loadMM_toCSR(), Paso_SharedComponents_alloc(), Paso_solve(), Paso_Solver(), Paso_Solver_getAMLI(), Paso_Solver_getILU(), Paso_Solver_getRILU(), Paso_SparseMatrix_alloc(), Paso_SparseMatrix_getSubmatrix(), Paso_SparseMatrix_invMain(), Paso_SparseMatrix_MatrixMatrix(), Paso_SparseMatrix_MatrixMatrixTranspose(), Paso_SparseMatrix_unroll(), Paso_SystemMatrix_alloc(), Paso_SystemMatrix_balance(), Paso_SystemMatrix_getMIS(), Paso_SystemMatrix_MatrixVector(), Paso_SystemMatrix_nullifyRows(), Paso_SystemMatrix_nullifyRowsAndCols(), Paso_SystemMatrixPattern_unrollBlocks(), Paso_TransportProblem_alloc(), Paso_TransportProblem_getSafeTimeStepSize(), Paso_TransportProblem_solve(), Paso_UMFPACK(), Performance_close(), and Performance_open().

void Esys_resetError ( void  )
void Esys_setError ( Esys_ErrorCodeType  err,
char *  msg 
)

References Esys_ErrorCode_, Esys_ErrorMsg_, Esys_noError(), LenErrorMsg_MAX, and MIN.

Referenced by Dudley_setError(), Esys_checkPtr(), Esys_MPIInfo_alloc(), Esys_MPIInfo_initialized(), Finley_setError(), Paso_BlockOps_solveAll(), Paso_Connector_alloc(), Paso_Coupler_finishCollect(), Paso_Coupler_startCollect(), Paso_FCT_Solver_alloc(), Paso_MKL(), Paso_MKL_free(), Paso_Options_getPackage(), Paso_Options_getSolver(), Paso_Pattern_alloc(), Paso_Pattern_mis(), Paso_Pattern_reduceBandwidth(), Paso_Preconditioner_AMG_CIJPCoarsening(), Paso_Preconditioner_AMG_extendB(), Paso_Preconditioner_AMG_setClassicProlongation(), Paso_Preconditioner_AMG_setClassicProlongation_Block(), Paso_Preconditioner_LocalAMG_setClassicProlongation(), Paso_Preconditioner_LocalAMG_setClassicProlongation_Block(), Paso_Preconditioner_LocalSmoother_Sweep_colored(), Paso_Preconditioner_LocalSmoother_Sweep_sequential(), Paso_RHS_loadMM_toCSR(), Paso_solve(), Paso_Solver(), Paso_Solver_getAMLI(), Paso_Solver_getILU(), Paso_Solver_getRILU(), Paso_SparseMatrix_alloc(), Paso_SparseMatrix_getBlock(), Paso_SparseMatrix_getSubmatrix(), Paso_SparseMatrix_invMain(), Paso_SparseMatrix_loadMM_toCSR(), Paso_SparseMatrix_MatrixMatrix(), Paso_SparseMatrix_MatrixMatrixTranspose(), Paso_SparseMatrix_saveHB_CSC(), Paso_SparseMatrix_saveMM(), Paso_SystemMatrix_alloc(), Paso_SystemMatrix_balance(), Paso_SystemMatrix_borrowMainDiagonalPointer(), Paso_SystemMatrix_CalcBorderMIS(), Paso_SystemMatrix_copyColCoupleBlock(), Paso_SystemMatrix_getMIS(), Paso_SystemMatrix_getSystemMatrixTypeId(), Paso_SystemMatrix_loadMM_toCSC(), Paso_SystemMatrix_loadMM_toCSR(), Paso_SystemMatrix_MatrixVector(), Paso_SystemMatrix_mergeMainAndCouple(), Paso_SystemMatrix_mergeMainAndCouple_CSR_OFFSET0(), Paso_SystemMatrix_mergeMainAndCouple_CSR_OFFSET0_Block(), Paso_SystemMatrix_nullifyRows(), Paso_SystemMatrix_nullifyRowsAndCols(), Paso_SystemMatrix_rowSum(), Paso_SystemMatrix_saveHB(), Paso_SystemMatrix_saveMM(), Paso_SystemMatrixPattern_alloc(), Paso_TransportProblem_getSafeTimeStepSize(), Paso_TransportProblem_setUpConstraint(), Paso_TransportProblem_solve(), Paso_UMFPACK(), and Performance_open().

double Esys_timer ( void  )
int serial_get_max_threads ( void  )
int serial_get_thread_num ( void  )