コード例 #1
0
def test_petsc4py_get_rank_2(med_petsc_with_const_pressure):
    matr = med_petsc_with_const_pressure

    rank = LinearAlgebraTools.petsc4py_get_rank(matr)
    assert rank == 44
コード例 #2
0
def test_petsc4py_get_rank_1(small_petsc4py):
    matr = small_petsc4py

    rank = LinearAlgebraTools.petsc4py_get_rank(small_petsc4py)
    assert rank == 6
コード例 #3
0
def test_petsc4py_get_rank_1(small_petsc4py):
    matr = small_petsc4py

    rank = LinearAlgebraTools.petsc4py_get_rank(small_petsc4py)
    assert rank == 6
コード例 #4
0
def test_petsc4py_get_rank_2(med_petsc_with_const_pressure):
    matr = med_petsc_with_const_pressure

    rank = LinearAlgebraTools.petsc4py_get_rank(matr)
    assert rank == 44