コード例 #1
0
def test_petsc4py_has_pressure_null_space_2(med_petsc_with_const_pressure):
    superlu_mat = med_petsc_with_const_pressure

    has_null = LinearAlgebraTools.petsc4py_mat_has_pressure_null_space(
        superlu_mat)
    assert has_null == True
コード例 #2
0
def test_petsc4py_has_pressure_null_space_2(med_petsc_with_const_pressure):
    superlu_mat = med_petsc_with_const_pressure

    has_null = LinearAlgebraTools.petsc4py_mat_has_pressure_null_space(superlu_mat)
    assert has_null == True
コード例 #3
0
def test_petsc4py_has_pressure_null_space_1(small_petsc4py):
    superlu_mat = small_petsc4py

    has_null = LinearAlgebraTools.petsc4py_mat_has_pressure_null_space(
        superlu_mat)
    assert has_null == False
コード例 #4
0
def test_petsc4py_has_pressure_null_space_1(small_petsc4py):
    superlu_mat = small_petsc4py

    has_null = LinearAlgebraTools.petsc4py_mat_has_pressure_null_space(superlu_mat)
    assert has_null == False