Home
last modified time | relevance | path

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

/petsc/src/dm/impls/plex/
H A Dplexfluent.c687 DMPolytopeType *cellTypes = NULL; in DMPlexCreateFluent() local
733 PetscCall(PetscMalloc2(numCells, &cellSizes, numCells, &cellTypes)); in DMPlexCreateFluent()
734 …tscCall(GetNumCellFaces(s.nd ? s.nd : (int)((PetscInt *)s.data)[c], &cellSizes[c], &cellTypes[c])); in DMPlexCreateFluent()
818 PetscCall(DMPlexSetCellType(*dm, c, cellTypes[c])); in DMPlexCreateFluent()
885 for (PetscInt c = 0; c < numCells; ++c) PetscCall(ReorderCell(viewer, *dm, c, cellTypes[c])); in DMPlexCreateFluent()
969 PetscCall(PetscFree2(cellSizes, cellTypes)); in DMPlexCreateFluent()
H A Dplex.c2851 PetscCall(PetscFree(mesh->cellTypes)); in DMDestroy_Plex()
3118 PetscCall(PetscFree(mesh->cellTypes)); in DMPlexSetChart()
4799 PetscCall(PetscFree(mesh->cellTypes)); in DMPlexComputeCellTypes()
4800 PetscCall(PetscMalloc1(pEnd - pStart, &mesh->cellTypes)); in DMPlexComputeCellTypes()
4809 mesh->cellTypes[p - pStart].value_as_uint8 = (uint8_t)ct; in DMPlexComputeCellTypes()
5665 if (!mesh->cellTypes) { /* XXX remove? optimize? */ in DMPlexGetCellType()
5671 PetscCall(PetscMalloc1(pEnd - pStart, &mesh->cellTypes)); in DMPlexGetCellType()
5675 mesh->cellTypes[p - pStart].value_as_uint8 = (uint8_t)ct; in DMPlexGetCellType()
5678 *celltype = (DMPolytopeType)mesh->cellTypes[cell - pStart].value_as_uint8; in DMPlexGetCellType()
5720 if (!mesh->cellTypes) PetscCall(PetscMalloc1(pEnd - pStart, &mesh->cellTypes)); in DMPlexSetCellType()
[all …]
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c797 …t int section_ids[], PetscSection *section, CGNS_ENUMT(ElementType_t) * cellTypes[], PetscInt *cel… in DMPlexCGNS_CreateCornersConnectivitySection() argument
897 if (cellTypes) *cellTypes = cellTypes_; in DMPlexCGNS_CreateCornersConnectivitySection()
/petsc/include/petsc/private/
H A Ddmpleximpl.h135 } *cellTypes; member