Searched refs:subIndices (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/dm/interface/ |
| H A D | dmi.c | 82 PetscInt *subIndices; in PetscSectionSelectFields_Private() local 165 PetscCall(PetscMalloc1(subSize, &subIndices)); in PetscSectionSelectFields_Private() 202 subIndices[subOff++] = goff + poff + pfoff; in PetscSectionSelectFields_Private() 209 … for (PetscInt fc = 0; fc < fdof - fcdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in PetscSectionSelectFields_Private() 216 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)gs), subSize, subIndices, PETSC_OWN_POINTER… in PetscSectionSelectFields_Private() 222 if (subIndices[i + j] != subIndices[i] + j) { in PetscSectionSelectFields_Private() 478 PetscInt *subIndices; in DMCreateSectionSuperDM() local 483 PetscCall(PetscMalloc1(subSize, &subIndices)); in DMCreateSectionSuperDM() 499 for (d = start; d < end; ++d, ++subOff) subIndices[subOff] = d; in DMCreateSectionSuperDM() 502 PetscCall(ISCreateGeneral(comm, subSize, subIndices, PETSC_OWN_POINTER, &(*is)[i])); in DMCreateSectionSuperDM()
|
| /petsc/src/vec/vec/utils/ |
| H A D | vsection.c | 197 PetscInt *subIndices; in PetscSectionGetField_Internal() local 209 PetscCall(PetscMalloc1(subSize, &subIndices)); in PetscSectionGetField_Internal() 224 for (fc = 0; fc < fdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in PetscSectionGetField_Internal() 227 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)v), subSize, subIndices, PETSC_OWN_POINTER,… in PetscSectionGetField_Internal()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexsubmesh.c | 3305 …cInt firstSubPoint, PetscInt numSubPoints, const PetscInt subPoints[], const PetscInt subIndices[]) in DMPlexFilterPointPerm_Internal() argument 3312 return subPoint < 0 ? subPoint : firstSubPoint + (subIndices ? subIndices[subPoint] : subPoint); in DMPlexFilterPointPerm_Internal()
|
| H A D | plex.c | 10871 PetscInt *subIndices; in DMCreateSubDomainDM_Plex() local 10913 PetscCall(PetscMalloc1(subSize, &subIndices)); in DMCreateSubDomainDM_Plex() 10933 for (fc = 0; fc < fdof - fcdof; ++fc, ++subOff) subIndices[subOff] = goff + poff + fc; in DMCreateSubDomainDM_Plex() 10938 …PetscCall(ISCreateGeneral(PetscObjectComm((PetscObject)dm), subSize, subIndices, PETSC_OWN_POINTER… in DMCreateSubDomainDM_Plex() 10944 if (subIndices[i + j] != subIndices[i] + j) { in DMCreateSubDomainDM_Plex()
|