gf_mumps_context_set

概要

gf_mumps_context_set(mumps_context MC, 'matrix', mat A[, vec rows[, vec cols]])
gf_mumps_context_set(mumps_context MC, 'distributed matrix', mat A[, vec rows[, vec cols]])
gf_mumps_context_set(mumps_context MC, 'vector', vec b)
gf_mumps_context_set(mumps_context MC, 'ICNTL', int ind, int val)
gf_mumps_context_set(mumps_context MC, 'CNTL', int ind, scalar val)
gf_mumps_context_set(mumps_context MC, 'error check')
gf_mumps_context_set(mumps_context MC, 'analyze')
gf_mumps_context_set(mumps_context MC, 'factorize')
SOL = gf_mumps_context_set(mumps_context MC, 'solve')
gf_mumps_context_set(mumps_context MC, 'analyze and factorize')
SOL = gf_mumps_context_set(mumps_context MC, 'factorize and solve')
SOL = gf_mumps_context_set(mumps_context MC, 'analyze factorize and solve')

説明 :

mumps_contextオブジェクトを修正するための汎用的な関数

コマンドリスト

gf_mumps_context_set(mumps_context MC, 'matrix', mat A[, vec rows[, vec cols]])

Set mat A(rows,cols) as the matrix for the mumps_context object.

Optional vectors vec rows and vec cols are used for selecting and/or permuting rows and columns from input matrix mat A. They are 0-based in Python and 1-based in Matlab/Octave.

gf_mumps_context_set(mumps_context MC, 'distributed matrix', mat A[, vec rows[, vec cols]])

Set mat A(rows,cols) as the matrix A for the mumps_context object, distributed over all processes. It also sets ICNTL(5) to 0 and ICNTL(18) to 3.

Optional vectors vec rows and vec cols are used for selecting and/or permuting rows and columns from input matrix mat A. They are 0-based in Python and 1-based in Matlab/Octave.

gf_mumps_context_set(mumps_context MC, 'vector', vec b)

mumps_context オブジェクトの右辺vec bを設定します。

gf_mumps_context_set(mumps_context MC, 'ICNTL', int ind, int val)

Set the integer option at 1-based index ind in the ICNTL vector of the mumps_context object to value val.

大文字の命名規則は、Fortranのインデックスを意味します。

gf_mumps_context_set(mumps_context MC, 'CNTL', int ind, scalar val)

mumps_context オブジェクトの CNTL ベクトルの1ベースのインデックス ind のスカラーオプションに値 val を設定します。

大文字の命名規則は、Fortranのインデックスを意味します。

gf_mumps_context_set(mumps_context MC, 'error check')

Check the error status of the mumps_context object.

gf_mumps_context_set(mumps_context MC, 'analyze')

mumps_context オブジェクトに対してMUMPS分析ジョブを実行します.

gf_mumps_context_set(mumps_context MC, 'factorize')

mumps_context オブジェクトに対してMUMPS分解ジョブを実行します.

SOL = gf_mumps_context_set(mumps_context MC, 'solve')

mumps_context オブジェクトに対してMUMPSsolveジョブ (のみ) を実行します.

The analysis and factorization jobs need to be run first before calling this function. An error check is performed after the solve.

It returns the solution vector (on all processes if MPI is used).

gf_mumps_context_set(mumps_context MC, 'analyze and factorize')

mumps_context オブジェクトのMUMPS解析および因数分解ジョブを実行します.

SOL = gf_mumps_context_set(mumps_context MC, 'factorize and solve')

Run the MUMPS factorization and solve jobs for the mumps_context object.

The analysis job needs to be run first before calling this function. An error check is performed after the solve.

It returns the solution vector (on all processes if MPI is used).

SOL = gf_mumps_context_set(mumps_context MC, 'analyze factorize and solve')

Run the MUMPS analysis, factorization and solve jobs for the mumps_context object. An error check is also performed after the solve.

It returns the solution vector (on all processes if MPI is used).