common_error

Part of a parallel direct block solver.

This module handles errors.

Authors

Mathieu Favergefav.nosp@m.erge@labr.nosp@m.i.fr
David GOUDIN.
Pascal HENON.
Xavier LACOSTElac.nosp@m.oste@labr.nosp@m.i.fr
Francois PELLEGRINI.
Pierre RAMETra.nosp@m.met@labr.nosp@m.i.fr

Dates

Version 0.0from 08 may 1998 to 02 oct 1998
Summary
common_errorPart of a parallel direct block solver.
Variables
errorProgNameName of the programm running
FunctionsThe error handling routines.
errorProgThis routine sets the program name for error reporting.
errorPrintThis routine prints an error message with a variable number of arguments, as printf () does, and exits.
errorPrintW

Variables

errorProgName

void errorProg (const char * const progstr)

Name of the programm running

Summary
FunctionsThe error handling routines.

Functions

The error handling routines.

errorProg

This routine sets the program name for error reporting.

Parameters

progstrName of the program, will be truncated to 29 characters.

Returns

VOIDin all cases.

errorPrint

void errorPrint (const char * const errstr,
 ...)

This routine prints an error message with a variable number of arguments, as printf () does, and exits.

Parameters

errstrFormat for the error to string.
...arguments depending on the format. printf-like variable argument list.

Returns

VOIDin all cases.

errorPrintW

void errorPrintW (const char * const warnstr,
 ...)
void errorProg (const char * const progstr)
Name of the programm running
void errorPrint (const char * const errstr,
 ...)
This routine prints an error message with a variable number of arguments, as printf () does, and exits.
void errorPrintW (const char * const warnstr,
 ...)
Close