Home
last modified time | relevance | path

Searched refs:mattmp (Results 1 – 1 of 1) sorted by relevance

/petsc/src/ksp/pc/impls/hypre/
H A Dhypre.c158 Mat *mattmp; in PCGetCoarseOperators_BoomerAMG() local
165 PetscCall(PetscMalloc1(num_levels, &mattmp)); in PCGetCoarseOperators_BoomerAMG()
168 …PetscCall(MatCreateFromParCSR(A_array[l], MATAIJ, PETSC_OWN_POINTER, &mattmp[num_levels - 1 - l])); in PCGetCoarseOperators_BoomerAMG()
173 *operators = mattmp; in PCGetCoarseOperators_BoomerAMG()
187 Mat *mattmp; in PCGetInterpolations_BoomerAMG() local
194 PetscCall(PetscMalloc1(num_levels, &mattmp)); in PCGetInterpolations_BoomerAMG()
197 …PetscCall(MatCreateFromParCSR(P_array[num_levels - 1 - l], MATAIJ, PETSC_OWN_POINTER, &mattmp[l - … in PCGetInterpolations_BoomerAMG()
202 *interpolations = mattmp; in PCGetInterpolations_BoomerAMG()