convert_inform_type structure#

#include <galahad_convert.h>

struct convert_inform_type {
    // fields

    ipc_ status;
    ipc_ alloc_status;
    ipc_ duplicates;
    char bad_alloc[81];
    struct convert_time_type time;
};

detailed documentation#

inform derived type as a C struct

components#

ipc_ status

the return status. Possible values are:

  • 0

    a successful conversion.

  • -1

    An allocation error occurred. A message indicating the offending array is written on unit control.error, and the returned allocation status and a string containing the name of the offending array are held in inform.alloc_status and inform.bad_alloc respectively.

  • -2

    A deallocation error occurred. A message indicating the offending array is written on unit control.error and the returned allocation status and a string containing the name of the offending array are held in inform.alloc_status and inform.bad_alloc respectively.

  • -3

    The restriction n > 0 or m > 0 or requirement that a type contains its relevant string ‘coordinate’, ‘sparse_by_rows’, ‘sparse_by_columns’, ‘dense_by_rows’ or ‘dense_by_columns’ has been violated.

  • -32

    provided integer workspace is not large enough.

  • -33

    provided real workspace is not large enough.

  • -73

    an input matrix entry has been repeated.

  • -79

    there are missing optional arguments.

  • -90

    a requested output format is not recognised.

ipc_ alloc_status

the status of the last attempted allocation/deallocation.

ipc_ duplicates

the number of duplicates found (-ve = not checked).

char bad_alloc[81]

the name of the array for which an allocation/deallocation error occurred.

struct convert_time_type time

timings (see above).