SDDSlib
|
Provides a description string corresponding to a given differential equation result code. More...
#include "mdb.h"
Go to the source code of this file.
Macros | |
#define | N_DIFFEQ_RETURNS 8 |
Functions | |
char * | diffeq_result_description (long result_code) |
Return a descriptive string for a given differential equation result code. | |
Variables | ||
struct { | ||
long code | ||
char * description | ||
} | diffeq_return [N_DIFFEQ_RETURNS] | |
static char * | unknown = "unknown error" | |
Provides a description string corresponding to a given differential equation result code.
This file defines a function that, given a result code from a differential equation solver, returns a human-readable description of the result. The possible codes range from error conditions to successful completion indicators.
Definition in file diffeqResDescrip.c.
#define N_DIFFEQ_RETURNS 8 |
Definition at line 21 of file diffeqResDescrip.c.
char * diffeq_result_description | ( | long | result_code | ) |
Return a descriptive string for a given differential equation result code.
This function maps a numerical result code to a corresponding string describing the outcome of a differential equation integration procedure. If the code is not recognized, the function returns "unknown error".
result_code | The integer code representing the result of a differential equation solver. |
Definition at line 47 of file diffeqResDescrip.c.
long code |
Definition at line 24 of file diffeqResDescrip.c.
char* description |
Definition at line 25 of file diffeqResDescrip.c.
struct { ... } diffeq_return[N_DIFFEQ_RETURNS] |
|
static |
Definition at line 35 of file diffeqResDescrip.c.