Nek5000
SEM for Incompressible NS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
Macros | Functions
fail.c File Reference
#include <stdio.h>
#include <stdarg.h>
#include <stdlib.h>
#include <string.h>
#include "name.h"
#include "fail.h"
#include "types.h"
#include "comm.h"
+ Include dependency graph for fail.c:

Go to the source code of this file.

Macros

#define nek_exitt   FORTRAN_UNPREFIXED(exitt,EXITT)
 

Functions

void die (int status)
 
void vdiagnostic (const char *prefix, const char *file, unsigned line, const char *fmt, va_list ap)
 
void diagnostic (const char *prefix, const char *file, unsigned line, const char *fmt,...)
 
void vfail (int status, const char *file, unsigned line, const char *fmt, va_list ap)
 
void fail (int status, const char *file, unsigned line, const char *fmt,...)
 

Macro Definition Documentation

#define nek_exitt   FORTRAN_UNPREFIXED(exitt,EXITT)

Definition at line 10 of file fail.c.

Referenced by die().

Function Documentation

void diagnostic ( const char *  prefix,
const char *  file,
unsigned  line,
const char *  fmt,
  ... 
)

Definition at line 32 of file fail.c.

References vdiagnostic().

Referenced by main().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void die ( int  status)

Definition at line 11 of file fail.c.

References comm_gbl_id, and nek_exitt.

Referenced by vfail().

+ Here is the caller graph for this function:

void fail ( int  status,
const char *  file,
unsigned  line,
const char *  fmt,
  ... 
)

Definition at line 47 of file fail.c.

References vfail().

Referenced by comm_dup_(), comm_init_check_(), fcrystal_tuple_sort(), ffindpts_setup(), fgs_check_handle(), fgs_check_parms(), main(), scalloc(), smalloc(), sortv(), and srealloc().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vdiagnostic ( const char *  prefix,
const char *  file,
unsigned  line,
const char *  fmt,
va_list  ap 
)

Definition at line 20 of file fail.c.

References findpts_local_data::buf, comm_gbl_id, i, and n.

Referenced by diagnostic(), and vfail().

+ Here is the caller graph for this function:

void vfail ( int  status,
const char *  file,
unsigned  line,
const char *  fmt,
va_list  ap 
)

Definition at line 40 of file fail.c.

References die(), and vdiagnostic().

Referenced by fail().

+ Here is the call graph for this function:

+ Here is the caller graph for this function: