gf_util — Performs various operations which do not fit elsewhere.
gf_util('save matrix',string fmt, string filename, spmat A) A = gf_util('load matrix',string fmt, string filename) gf_util('trace level', int level) gf_util('warning level', int level)
Performs various operations which do not fit elsewhere.
gf_util('save matrix', string FMT, string FILENAME, spmat A): Exports a sparse matrix into the file named FILENAME, using Harwell-Boeing (FMT='hb') or Matrix-Market (FMT='mm') formatting.
A = gf_util('load matrix', string FMT, string FILENAME): Imports a sparse matrix from a file.
gf_util('trace_level',int level): Set the verbosity of some getfem++ routines. Typically the messages printed by the model bricks, 0 means no trace message (default is 3).
gf_util('warning_level',int level): Filter the less important warnings displayed by getfem. 0 means no warnings, default level is 3.