File numerics/src/tools/NM_MUMPS.h

Go to the source code of this file

Functions

void NM_MUMPS(NumericsMatrix *A, int job)

call MUMPS.

If several MPI process are running, only rank=0 returns after sending the job to all the process, the others will wait for other job, until job=0.

Parameters
  • A: the matrix holding the MUMPS config

  • job: the int that specify the MUMPS job. job=0 makes all process return.

double NM_MUMPS_cntl(NumericsMatrix *A, unsigned int index)

Return cntl value.

Return

the CNTL(index) value.

Parameters
  • Athe: matrix holding the MUMPS config,

  • indexthe: FORTRAN index in the cntl array.

void NM_MUMPS_copy(const NumericsMatrix *A, NumericsMatrix *B)

copy MUMPS id if compiled WITH_MUMPS, otherwise do nothing.

Parameters

void NM_MUMPS_extra_display(NumericsMatrix *A)

Display extra information about the solve.

Parameters
  • A: the matrix holding the MUMPS config

void NM_MUMPS_free(void *p)

Free the config data for MUMPS.

Parameters
  • param: p a pointer on the linear solver parameters

int NM_MUMPS_icntl(NumericsMatrix *A, unsigned int index)

Return icntl value.

Return

the ICNTL(index) value.

Parameters
  • Athe: matrix holding the MUMPS config,

  • indexthe: FORTRAN index in the icntl array,

DMUMPS_STRUC_C *NM_MUMPS_id(NumericsMatrix *A)

Get (and create if necessary) the config data for MUMPS.

Parameters
  • Athe: matrix to be factorized.

void NM_MUMPS_set_cntl(NumericsMatrix *A, unsigned int index, double val)

Set cntl control.

Parameters
  • Athe: matrix holding the MUMPS config,

  • indexthe: FORTRAN index in the cntl array,

  • val: the new double value.

void NM_MUMPS_set_control_params(NumericsMatrix *A)

Set control parameters (mpi communicator, verbosity).

Parameters
  • Athe: matrix holding the MUMPS config.

void NM_MUMPS_set_default_params(NumericsMatrix *A)

Set some default parameters for the solve.

Parameters
  • A: the matrix holding the MUMPS config

void NM_MUMPS_set_icntl(NumericsMatrix *A, unsigned int index, int val)

Set icntl control.

Parameters
  • Athe: matrix holding the MUMPS config,

  • indexthe: fortran index in the icntl array,

  • valthe: new integer value.

void NM_MUMPS_set_id(NumericsMatrix *A, DMUMPS_STRUC_C *id)

Set the config data for MUMPS.

Return

the DMUMPS_STRUC_C config.

Parameters
  • A: the matrix,

  • id: the config data,

void NM_MUMPS_set_irn_jcn(NumericsMatrix *A)
void NM_MUMPS_set_par(NumericsMatrix *A, int par)

Set control of parallelism.

Parameters
  • Athe: matrix holding the MUMPS config,

  • parvalue: of MUMPS par, see MUMPS documentation.

void NM_MUMPS_set_problem(NumericsMatrix *A, double *b)

Set linear problem.

Parameters
  • Athe: matrix holding the MUMPS config,

  • ba: pointer on double values.

void NM_MUMPS_set_sym(NumericsMatrix *A, int sym)

Set matrix symetry.

Parameters
  • Athe: matrix holding the MUMPS config,

  • symvalue: for matrix symmetry, see MUMPS documentation.

void NM_MUMPS_set_verbosity(NumericsMatrix *A, unsigned int verbosity)

Set MUMPS verbosity.

Parameters
  • Athe: matrix holding the MUMPS config,

  • verbosityan: integer: 0 for silent or 1 for verbose.