Home
last modified time | relevance | path

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

/petsc/src/mat/impls/normal/
H A Dnormmh.c12 Mat B, *suba; in MatCreateSubMatrices_NormalHermitian() local
28 PetscCall(MatCreateSubMatrices(B, n, row, icol, MAT_INITIAL_MATRIX, &suba)); in MatCreateSubMatrices_NormalHermitian()
30 PetscCall(MatCreateNormalHermitian(suba[M], *submat + M)); in MatCreateSubMatrices_NormalHermitian()
36 PetscCall(MatDestroySubMatrices(n, &suba)); in MatCreateSubMatrices_NormalHermitian()
H A Dnormm.c29 Mat B, *suba; in MatCreateSubMatrices_Normal() local
45 PetscCall(MatCreateSubMatrices(B, n, row, icol, MAT_INITIAL_MATRIX, &suba)); in MatCreateSubMatrices_Normal()
47 PetscCall(MatCreateNormal(suba[M], *submat + M)); in MatCreateSubMatrices_Normal()
53 PetscCall(MatDestroySubMatrices(n, &suba)); in MatCreateSubMatrices_Normal()
/petsc/src/dm/impls/plex/hdf5/
H A Dplexhdf5.c583 PetscScalar *suba; in VecView_Plex_Local_HDF5_Internal() local
603 PetscCall(VecGetArray(subv, &suba)); in VecView_Plex_Local_HDF5_Internal()
618 for (fc = 0; fc < fdof; ++fc, ++subOff) suba[subOff] = ga[goff + poff + fc - gstart]; in VecView_Plex_Local_HDF5_Internal()
621 … for (fc = 0; fc < fdof; ++fc, ++newOff) suba[subSize + newOff] = ga[goff + poff + fc - gstart]; in VecView_Plex_Local_HDF5_Internal()
626 PetscCall(VecRestoreArray(subv, &suba)); in VecView_Plex_Local_HDF5_Internal()