Function

NumCosmoMathutil_cvode_check_flag

Declaration [src]

gboolean
ncm_util_cvode_check_flag (
  gpointer flagvalue,
  const gchar* funcname,
  gint opt
)

Description [src]

Checks the CVode flag value and prints a message if an error occured.

Parameters

flagvalue

Type: gpointer

Pointer to flag value.

The argument can be NULL.
The data is owned by the caller of the function.
funcname

Type: const gchar*

Cvode function name.

The data is owned by the caller of the function.
The value is a NUL terminated UTF-8 string.
opt

Type: gint

Option.

Return value

Type: gboolean

TRUE if no error occured, FALSE otherwise.