sfepy.solvers.ls_mumps module

class sfepy.solvers.ls_mumps.MumpsSolver(is_sym=False, mpi_comm=None, system='real', silent=True, mem_relax=20)[source]

MUMPS object.

expand_schur(x2)[source]

Expand the Schur local solution on the complete solution.

Parameters:
x2array

The local Schur solution.

Returns:
xarray

The global solution.

get_schur(schur_list)[source]

Get the Schur matrix and the condensed right-hand side vector.

Parameters:
schur_listarray

The list of the Schur DOFs (indexing starts with 1).

Returns:
schur_arrarray

The Schur matrix of order ‘schur_size’.

schur_rhsarray

The reduced right-hand side vector.

set_mtx_centralized(mtx)[source]

Set the sparse matrix.

Parameters:
mtxscipy sparse martix

The sparse matrix in COO format.

set_rcd_centralized(ir, ic, data, n)[source]

Set the matrix by row and column indicies and data vector. The matrix shape is determined by the maximal values of row and column indicies. The indices start with 1.

Parameters:
irarray

The row idicies.

icarray

The column idicies.

dataarray

The matrix entries.

nint

The matrix dimension.

set_rhs(rhs)[source]

Set the right hand side of the linear system.

set_silent()[source]
set_verbose()[source]
sfepy.solvers.ls_mumps.coo_is_symmetric(mtx, tol=1e-06)[source]
sfepy.solvers.ls_mumps.dec(val, encoding='utf-8')[source]

Decode given bytes using the specified encoding.

sfepy.solvers.ls_mumps.load_library(libname)[source]

Load shared library in a system dependent way.

sfepy.solvers.ls_mumps.load_mumps_libraries()[source]
sfepy.solvers.ls_mumps.mumps_pcomplex

alias of LP_c_double

sfepy.solvers.ls_mumps.mumps_preal

alias of LP_c_double

class sfepy.solvers.ls_mumps.mumps_struc_c_4[source]
a

Structure/Union member

a_elt

Structure/Union member

a_loc

Structure/Union member

cntl

Structure/Union member

colsca

Structure/Union member

comm_fortran

Structure/Union member

deficiency

Structure/Union member

eltptr

Structure/Union member

eltvar

Structure/Union member

icntl

Structure/Union member

info

Structure/Union member

infog

Structure/Union member

instance_number

Structure/Union member

irhs_ptr

Structure/Union member

irhs_sparse

Structure/Union member

irn

Structure/Union member

irn_loc

Structure/Union member

isol_loc

Structure/Union member

jcn

Structure/Union member

jcn_loc

Structure/Union member

job

Structure/Union member

listvar_schur

Structure/Union member

lredrhs

Structure/Union member

lrhs

Structure/Union member

lsol_loc

Structure/Union member

lwk_user

Structure/Union member

mapping

Structure/Union member

mblock

Structure/Union member

n

Structure/Union member

nblock

Structure/Union member

nelt

Structure/Union member

npcol

Structure/Union member

nprow

Structure/Union member

nrhs

Structure/Union member

nz

Structure/Union member

nz_alloc

Structure/Union member

nz_loc

Structure/Union member

nz_rhs

Structure/Union member

ooc_prefix

Structure/Union member

ooc_tmpdir

Structure/Union member

par

Structure/Union member

perm_in

Structure/Union member

pivnul_list

Structure/Union member

redrhs

Structure/Union member

rhs

Structure/Union member

rhs_sparse

Structure/Union member

rinfo

Structure/Union member

rinfog

Structure/Union member

rowsca

Structure/Union member

schur

Structure/Union member

schur_lld

Structure/Union member

schur_mloc

Structure/Union member

schur_nloc

Structure/Union member

size_schur

Structure/Union member

sol_loc

Structure/Union member

sym

Structure/Union member

sym_perm

Structure/Union member

uns_perm

Structure/Union member

version_number

Structure/Union member

wk_user

Structure/Union member

write_problem

Structure/Union member

class sfepy.solvers.ls_mumps.mumps_struc_c_5_0[source]
a

Structure/Union member

a_elt

Structure/Union member

a_loc

Structure/Union member

cntl

Structure/Union member

colsca

Structure/Union member

colsca_from_mumps

Structure/Union member

comm_fortran

Structure/Union member

deficiency

Structure/Union member

dkeep

Structure/Union member

eltptr

Structure/Union member

eltvar

Structure/Union member

icntl

Structure/Union member

info

Structure/Union member

infog

Structure/Union member

instance_number

Structure/Union member

irhs_ptr

Structure/Union member

irhs_sparse

Structure/Union member

irn

Structure/Union member

irn_loc

Structure/Union member

isol_loc

Structure/Union member

jcn

Structure/Union member

jcn_loc

Structure/Union member

job

Structure/Union member

keep

Structure/Union member

keep8

Structure/Union member

listvar_schur

Structure/Union member

lredrhs

Structure/Union member

lrhs

Structure/Union member

lsol_loc

Structure/Union member

lwk_user

Structure/Union member

mapping

Structure/Union member

mblock

Structure/Union member

n

Structure/Union member

nblock

Structure/Union member

nelt

Structure/Union member

npcol

Structure/Union member

nprow

Structure/Union member

nrhs

Structure/Union member

nz

Structure/Union member

nz_alloc

Structure/Union member

nz_loc

Structure/Union member

nz_rhs

Structure/Union member

ooc_prefix

Structure/Union member

ooc_tmpdir

Structure/Union member

par

Structure/Union member

perm_in

Structure/Union member

pivnul_list

Structure/Union member

redrhs

Structure/Union member

rhs

Structure/Union member

rhs_sparse

Structure/Union member

rinfo

Structure/Union member

rinfog

Structure/Union member

rowsca

Structure/Union member

rowsca_from_mumps

Structure/Union member

schur

Structure/Union member

schur_lld

Structure/Union member

schur_mloc

Structure/Union member

schur_nloc

Structure/Union member

size_schur

Structure/Union member

sol_loc

Structure/Union member

sym

Structure/Union member

sym_perm

Structure/Union member

uns_perm

Structure/Union member

version_number

Structure/Union member

wk_user

Structure/Union member

write_problem

Structure/Union member

class sfepy.solvers.ls_mumps.mumps_struc_c_5_1[source]
a

Structure/Union member

a_elt

Structure/Union member

a_loc

Structure/Union member

cntl

Structure/Union member

colsca

Structure/Union member

colsca_from_mumps

Structure/Union member

comm_fortran

Structure/Union member

deficiency

Structure/Union member

dkeep

Structure/Union member

eltptr

Structure/Union member

eltvar

Structure/Union member

icntl

Structure/Union member

info

Structure/Union member

infog

Structure/Union member

instance_number

Structure/Union member

irhs_ptr

Structure/Union member

irhs_sparse

Structure/Union member

irn

Structure/Union member

irn_loc

Structure/Union member

isol_loc

Structure/Union member

jcn

Structure/Union member

jcn_loc

Structure/Union member

job

Structure/Union member

keep

Structure/Union member

keep8

Structure/Union member

listvar_schur

Structure/Union member

lredrhs

Structure/Union member

lrhs

Structure/Union member

lsol_loc

Structure/Union member

lwk_user

Structure/Union member

mapping

Structure/Union member

mblock

Structure/Union member

n

Structure/Union member

nblock

Structure/Union member

nelt

Structure/Union member

nnz

Structure/Union member

nnz_loc

Structure/Union member

npcol

Structure/Union member

nprow

Structure/Union member

nrhs

Structure/Union member

nz

Structure/Union member

nz_alloc

Structure/Union member

nz_loc

Structure/Union member

nz_rhs

Structure/Union member

ooc_prefix

Structure/Union member

ooc_tmpdir

Structure/Union member

par

Structure/Union member

perm_in

Structure/Union member

pivnul_list

Structure/Union member

redrhs

Structure/Union member

rhs

Structure/Union member

rhs_sparse

Structure/Union member

rinfo

Structure/Union member

rinfog

Structure/Union member

rowsca

Structure/Union member

rowsca_from_mumps

Structure/Union member

save_dir

Structure/Union member

save_prefix

Structure/Union member

schur

Structure/Union member

schur_lld

Structure/Union member

schur_mloc

Structure/Union member

schur_nloc

Structure/Union member

size_schur

Structure/Union member

sol_loc

Structure/Union member

sym

Structure/Union member

sym_perm

Structure/Union member

uns_perm

Structure/Union member

version_number

Structure/Union member

wk_user

Structure/Union member

write_problem

Structure/Union member

class sfepy.solvers.ls_mumps.mumps_struc_c_5_2[source]
a

Structure/Union member

a_elt

Structure/Union member

a_loc

Structure/Union member

cntl

Structure/Union member

colsca

Structure/Union member

colsca_from_mumps

Structure/Union member

comm_fortran

Structure/Union member

deficiency

Structure/Union member

dkeep

Structure/Union member

eltptr

Structure/Union member

eltvar

Structure/Union member

icntl

Structure/Union member

info

Structure/Union member

infog

Structure/Union member

instance_number

Structure/Union member

irhs_loc

Structure/Union member

irhs_ptr

Structure/Union member

irhs_sparse

Structure/Union member

irn

Structure/Union member

irn_loc

Structure/Union member

isol_loc

Structure/Union member

jcn

Structure/Union member

jcn_loc

Structure/Union member

job

Structure/Union member

keep

Structure/Union member

keep8

Structure/Union member

listvar_schur

Structure/Union member

lredrhs

Structure/Union member

lrhs

Structure/Union member

lrhs_loc

Structure/Union member

lsol_loc

Structure/Union member

lwk_user

Structure/Union member

mapping

Structure/Union member

mblock

Structure/Union member

metis_options

Structure/Union member

n

Structure/Union member

nblock

Structure/Union member

nelt

Structure/Union member

nloc_rhs

Structure/Union member

nnz

Structure/Union member

nnz_loc

Structure/Union member

npcol

Structure/Union member

nprow

Structure/Union member

nrhs

Structure/Union member

nz

Structure/Union member

nz_alloc

Structure/Union member

nz_loc

Structure/Union member

nz_rhs

Structure/Union member

ooc_prefix

Structure/Union member

ooc_tmpdir

Structure/Union member

par

Structure/Union member

perm_in

Structure/Union member

pivnul_list

Structure/Union member

redrhs

Structure/Union member

rhs

Structure/Union member

rhs_loc

Structure/Union member

rhs_sparse

Structure/Union member

rinfo

Structure/Union member

rinfog

Structure/Union member

rowsca

Structure/Union member

rowsca_from_mumps

Structure/Union member

save_dir

Structure/Union member

save_prefix

Structure/Union member

schur

Structure/Union member

schur_lld

Structure/Union member

schur_mloc

Structure/Union member

schur_nloc

Structure/Union member

size_schur

Structure/Union member

sol_loc

Structure/Union member

sym

Structure/Union member

sym_perm

Structure/Union member

uns_perm

Structure/Union member

version_number

Structure/Union member

wk_user

Structure/Union member

write_problem

Structure/Union member

class sfepy.solvers.ls_mumps.mumps_struc_c_5_3[source]
a

Structure/Union member

a_elt

Structure/Union member

a_loc

Structure/Union member

blkptr

Structure/Union member

blkvar

Structure/Union member

cntl

Structure/Union member

colsca

Structure/Union member

colsca_from_mumps

Structure/Union member

comm_fortran

Structure/Union member

deficiency

Structure/Union member

dkeep

Structure/Union member

eltptr

Structure/Union member

eltvar

Structure/Union member

icntl

Structure/Union member

info

Structure/Union member

infog

Structure/Union member

instance_number

Structure/Union member

irhs_loc

Structure/Union member

irhs_ptr

Structure/Union member

irhs_sparse

Structure/Union member

irn

Structure/Union member

irn_loc

Structure/Union member

isol_loc

Structure/Union member

jcn

Structure/Union member

jcn_loc

Structure/Union member

job

Structure/Union member

keep

Structure/Union member

keep8

Structure/Union member

listvar_schur

Structure/Union member

lredrhs

Structure/Union member

lrhs

Structure/Union member

lrhs_loc

Structure/Union member

lsol_loc

Structure/Union member

lwk_user

Structure/Union member

mapping

Structure/Union member

mblock

Structure/Union member

metis_options

Structure/Union member

n

Structure/Union member

nbl

Structure/Union member

nblock

Structure/Union member

nelt

Structure/Union member

nloc_rhs

Structure/Union member

nnz

Structure/Union member

nnz_loc

Structure/Union member

npcol

Structure/Union member

nprow

Structure/Union member

nrhs

Structure/Union member

nz

Structure/Union member

nz_alloc

Structure/Union member

nz_loc

Structure/Union member

nz_rhs

Structure/Union member

ooc_prefix

Structure/Union member

ooc_tmpdir

Structure/Union member

par

Structure/Union member

perm_in

Structure/Union member

pivnul_list

Structure/Union member

redrhs

Structure/Union member

rhs

Structure/Union member

rhs_loc

Structure/Union member

rhs_sparse

Structure/Union member

rinfo

Structure/Union member

rinfog

Structure/Union member

rowsca

Structure/Union member

rowsca_from_mumps

Structure/Union member

save_dir

Structure/Union member

save_prefix

Structure/Union member

schur

Structure/Union member

schur_lld

Structure/Union member

schur_mloc

Structure/Union member

schur_nloc

Structure/Union member

size_schur

Structure/Union member

sol_loc

Structure/Union member

sym

Structure/Union member

sym_perm

Structure/Union member

uns_perm

Structure/Union member

version_number

Structure/Union member

wk_user

Structure/Union member

write_problem

Structure/Union member

class sfepy.solvers.ls_mumps.mumps_struc_c_x[source]
aux

Structure/Union member

comm_fortran

Structure/Union member

icntl

Structure/Union member

job

Structure/Union member

par

Structure/Union member

sym

Structure/Union member