Searched refs:subDM (Results 1 – 2 of 2) sorted by relevance
| /petsc/src/dm/impls/stag/ |
| H A D | stagutils.c | 64 DM subDM; in DMStagGetProductCoordinateArrays_Private() local 73 PetscCall(DMProductGetDM(dmCoord, d, &subDM)); in DMStagGetProductCoordinateArrays_Private() 74 …PetscCheck(subDM, PetscObjectComm((PetscObject)dm), PETSC_ERR_ARG_WRONGSTATE, "Coordinate DM is mi… in DMStagGetProductCoordinateArrays_Private() 75 PetscCall(DMGetDimension(subDM, &subDim)); in DMStagGetProductCoordinateArrays_Private() 77 PetscCall(DMGetType(subDM, &dmType)); in DMStagGetProductCoordinateArrays_Private() 80 PetscCall(DMStagGetDOF(subDM, &dof[0], &dof[1], &dof[2], &dof[3])); in DMStagGetProductCoordinateArrays_Private() 87 PetscCall(DMGetCoordinatesLocal(subDM, &coord1d_local)); in DMStagGetProductCoordinateArrays_Private() 89 PetscCall(DMStagVecGetArrayRead(subDM, coord1d_local, arr[d])); in DMStagGetProductCoordinateArrays_Private() 91 PetscCall(DMStagVecGetArray(subDM, coord1d_local, arr[d])); in DMStagGetProductCoordinateArrays_Private() 208 DM subDM; in DMStagGetProductCoordinateLocationSlot() local [all …]
|
| /petsc/src/ksp/pc/impls/bjacobi/bjkokkos/ |
| H A D | bjkokkos.kokkos.cxx | 785 DM pack, *subDM = NULL; in PCSetUp_BJKOKKOS() local 917 PetscCall(PetscMalloc(sizeof(*subDM) * nDMs, &subDM)); in PCSetUp_BJKOKKOS() 921 if (pack) PetscCall(DMCompositeGetEntriesArray(pack, subDM)); in PCSetUp_BJKOKKOS() 925 if (subDM) { in PCSetUp_BJKOKKOS() 926 DM dm = subDM[ii]; in PCSetUp_BJKOKKOS() 964 PetscCall(PetscFree(subDM)); in PCSetUp_BJKOKKOS()
|