Searched refs:cDim (Results 1 – 4 of 4) sorted by relevance
| /petsc/src/vec/vec/utils/ |
| H A D | vsection.c | 110 PetscInt cDim = 0; in VecSetValuesSection() local 115 PetscCall(PetscSectionGetConstraintDof(s, point, &cDim)); in VecSetValuesSection() 118 if (!cDim && doInterior) { in VecSetValuesSection() 139 } else if (cDim) { in VecSetValuesSection() 148 if ((cInd < cDim) && (i == cDof[cInd])) { in VecSetValuesSection() 157 if ((cInd < cDim) && (i == cDof[cInd])) { in VecSetValuesSection()
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 3850 static PetscErrorCode PforestCheckLocalizeCell(DM plex, PetscInt cDim, Vec cVecOld, DM_Forest_pfore… in PforestCheckLocalizeCell() argument 3865 …PetscAssert(cSize == cDim * P4EST_CHILDREN, PETSC_COMM_SELF, PETSC_ERR_PLIB, "Unexpected closure s… in PforestCheckLocalizeCell() 3873 …for (PetscInt d = 0; d < PetscMin(cDim, 3); d++) vert_coords[d] = PetscRealPart(values[c * cDim + … in PforestCheckLocalizeCell() 3886 for (PetscInt d = 0; d < PetscMin(cDim, 3); d++) { in PforestCheckLocalizeCell() 3905 static PetscErrorCode PforestLocalizeCell(DM plex, PetscInt cDim, DM_Forest_pforest *pforest, Petsc… in PforestLocalizeCell() argument 3931 for (PetscInt d = 0; d < PetscMin(cDim, 3); d++) coords[pos++] = corner_coords[d]; in PforestLocalizeCell() 3932 for (PetscInt d = PetscMin(cDim, 3); d < cDim; d++) coords[pos++] = 0.; in PforestLocalizeCell() 3947 PetscInt cDim, newStart, newEnd; in DMPforestLocalizeCoordinates() local 3956 PetscCall(DMGetCoordinateDim(dm, &cDim)); in DMPforestLocalizeCoordinates() 3965 PetscCall(PetscSectionSetFieldComponents(newSection, 0, cDim)); in DMPforestLocalizeCoordinates() [all …]
|
| /petsc/src/vec/is/section/interface/ |
| H A D | section.c | 2854 PetscInt cDim = 0; in VecIntSetValuesSection_Private() local 2858 PetscCall(PetscSectionGetConstraintDof(s, p, &cDim)); in VecIntSetValuesSection_Private() 2860 if (!cDim) { in VecIntSetValuesSection_Private() 2890 if ((cInd < cDim) && (i == cDof[cInd])) { in VecIntSetValuesSection_Private() 2898 if ((cInd < cDim) && (i == cDof[cInd])) { in VecIntSetValuesSection_Private()
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcreate.c | 2068 PetscInt cDim, n; in DMPlexCreateWedgeBoxMesh_Internal() local 2071 PetscCall(VecGetBlockSize(v, &cDim)); in DMPlexCreateWedgeBoxMesh_Internal() 2074 x += cDim; in DMPlexCreateWedgeBoxMesh_Internal() 2075 for (i = 0; i < n; i += cDim) x[i] += lower[2]; in DMPlexCreateWedgeBoxMesh_Internal()
|