Function

NumCosmoMathcfg_init_full

Declaration [src]

gchar**
ncm_cfg_init_full (
  gint argc,
  gchar** argv
)

Description [src]

Main library configuration function. Must be called before any other function of NumCosmo.

Initializes internal variables and sets all other library number of threads to one. This function passes the arguments to other libraries, e.g, MPI. If that is not necessary ncm_cfg_init() should be used. This version is compatible with bindings and can be safely called from other languages.

See also: ncm_cfg_init() ncm_cfg_init_full_ptr().

Parameters

argc

Type: gint

A pointer to argc.

argv

Type: An array of gchar*

A pointer to argv.

The length of the array is specified in the argc argument.
The data is owned by the caller of the function.
Each element is a NUL terminated UTF-8 string.

Return value

Type: An array of utf8

The possibly modified argv.

The array is NULL-terminated.
The caller of the function takes ownership of the data, and is responsible for freeing it.
Each element is a NUL terminated UTF-8 string.