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]])mumps_context オブジェクトの行列として mat A(rows,cols) を設定します。
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)mumps_context オブジェクトの ICNTL ベクトルの1ベースのインデックス <literal>ind</literal> のインテジャーオプションに値 <literal>val</literal> を設定します。
大文字の命名規則は、Fortranのインデックスを意味します。
gf_mumps_context_set(mumps_context MC, 'CNTL', int ind, scalar val)mumps_context オブジェクトの CNTL ベクトルの1ベースのインデックス <literal>ind</literal> のスカラーオプションに値 <literal>val</literal> を設定します。
大文字の命名規則は、Fortranのインデックスを意味します。
gf_mumps_context_set(mumps_context MC, 'error check')mumps_context オブジェクトのエラー状態を確認してください。
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ジョブ (のみ) を実行します.
この関数を呼び出す前に、まず解析と因数分解のジョブを実行する必要があります。解き終わった後にエラーチェックが行われます。
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')mumps_context オブジェクトの MUMPS 解析、因数分解、解ジョブを実行します。これは解ベクトルを返します。解法の後にもエラーチェックが実行されます。
It returns the solution vector (on all processes if MPI is used).