ESYS13  Revision_
Defines | Functions | Variables
error.c File Reference
#include <string.h>
#include "error.h"
#include <time.h>

Defines

#define MIN(X, Y)   ((X)<(Y)?(X):(Y))

Functions

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

Variables

Esys_ErrorCodeType Esys_ErrorCode_ = NO_ERROR
char Esys_ErrorMsg_ [FILENAME_MAX *2] = {'\0'}

Define Documentation

#define MIN (   X,
 
)    ((X)<(Y)?(X):(Y))

Referenced by Dudley_ElementFile_gather(), Dudley_ElementFile_optimizeOrdering(), Dudley_ElementFile_scatter(), Dudley_Mesh_createDOFMappingAndCoupling(), Dudley_Mesh_findMatchingFaces(), Dudley_Mesh_resolveNodeIds(), Dudley_Mesh_saveVTK(), Dudley_NodeFile_createDenseNodeLabeling(), Dudley_Util_getFlaggedMinInt(), Dudley_Util_getMinInt(), Esys_setError(), Finley_Assemble_getAssembleParameters(), Finley_ElementFile_gather(), Finley_ElementFile_optimizeOrdering(), Finley_ElementFile_scatter(), Finley_Mesh_createDOFMappingAndCoupling(), Finley_Mesh_findMatchingFaces(), Finley_Mesh_joinFaces(), Finley_Mesh_merge(), Finley_Mesh_resolveNodeIds(), Finley_Mesh_saveVTK(), Finley_Mesh_setOrders(), Finley_NodeFile_createDenseNodeLabeling(), Finley_Util_getFlaggedMinInt(), Finley_Util_getMinInt(), Paso_FCT_FluxLimiter_addLimitedFluxes_Complete(), Paso_FCT_FluxLimiter_addLimitedFluxes_Start(), Paso_FCT_FluxLimiter_setU_tilda(), Paso_FCT_Solver_getSafeTimeStepSize(), Paso_FCT_Solver_updateNL(), Paso_InnerProduct(), Paso_l2(), Paso_LinearCombination(), Paso_lsup(), Paso_Pattern_alloc(), Paso_ReactiveSolver_getSafeTimeStepSize(), Paso_Solver(), Paso_Solver_GMRES(), Paso_Solver_GS_local(), Paso_Solver_NewtonGMRES(), Paso_Solver_PCG(), Paso_SparseMatrix_alloc(), Paso_SparseMatrix_copyFromMainDiagonal(), Paso_SparseMatrix_copyToMainDiagonal(), Paso_SparseMatrix_MatrixMatrix_DD(), Paso_SparseMatrix_MatrixMatrixTranspose_DD(), Paso_SparseMatrix_MatrixVector_CSR_OFFSET0(), Paso_SystemMatrix_alloc(), Paso_TransportProblem_getSafeTimeStepSize(), Paso_TransportProblem_solve(), Paso_Update(), and Paso_zeroes().


Function Documentation

bool_t Esys_checkPtr ( void *  ptr)
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  )

Variable Documentation

char Esys_ErrorMsg_[FILENAME_MAX *2] = {'\0'}