Top |
NcmMPIJobFEval * | ncm_mpi_job_feval_new () |
NcmMPIJobFEval * | ncm_mpi_job_feval_ref () |
void | ncm_mpi_job_feval_free () |
void | ncm_mpi_job_feval_clear () |
NcmFit * | fit | Read / Write / Construct Only |
NcmObjArray * | function-array | Read / Write / Construct Only |
This object is a subclass of NcmMPIJob and is designed to implement an MPI job for evaluating fit steps. It is employed by NcmFit to parallelize the evaluation of the posterior function. The job entails computing the posterior function and, if applicable, additional functions (e.g., derived quantities) at a specified point within the parameter space.
The MPI job is implemented as a function that takes a vector of parameters as input and produces a vector of values as output. The first value represents the posterior function's value, while the subsequent values correspond to those of additional functions.
NcmMPIJobFEval * ncm_mpi_job_feval_new (NcmFit *fit
,NcmObjArray *func_oa
);
Creates a new NcmMPIJobFEval object.
NcmMPIJobFEval *
ncm_mpi_job_feval_ref (NcmMPIJobFEval *mjfeval
);
Increase the reference of mjfeval
by one.
void
ncm_mpi_job_feval_free (NcmMPIJobFEval *mjfeval
);
Decrease the reference count of mjfeval
by one.
void
ncm_mpi_job_feval_clear (NcmMPIJobFEval **mjfeval
);
Decrease the reference count of mjfeval
by one, and sets the pointer *mjfeval
to
NULL.
“fit”
property“fit” NcmFit *
Fit object.
Owner: NcmMPIJobFEval
Flags: Read / Write / Construct Only
“function-array”
property“function-array” NcmObjArray *
Functions array.
Owner: NcmMPIJobFEval
Flags: Read / Write / Construct Only