Method

NumCosmoMathMPIJobget_input_buffer

Declaration [src]

gpointer
ncm_mpi_job_get_input_buffer (
  NcmMPIJob* mpi_job,
  gpointer input
)

Description [src]

Creates a buffer from input compatible with ncm_mpi_job_input_datatype().

Parameters

input

Type: gpointer

An input object.

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

Return value

Type: gpointer

The created buffer.

The returned data is owned by the instance.
The return value can be NULL.