Lines Matching refs:numCorners

196 …GNS_ENUMT(ElementType_t) cellType, DMPolytopeType *dmcelltype, PetscInt *numCorners, PetscInt *dim)  in CGNSElementTypeGetTopologyInfo()  argument
274 if (numCorners) *numCorners = DMPolytopeTypeGetNumVertices(_dmcelltype); in CGNSElementTypeGetTopologyInfo()
530 PetscInt numCorners, pOrder; in DMPlexCreateCGNS_Internal_Serial() local
547 …NSElementTypeGetTopologyInfo((CGNS_ENUMT(ElementType_t))elements[off], &ctype, &numCorners, NULL)); in DMPlexCreateCGNS_Internal_Serial()
550 PetscCall(DMPlexSetConeSize(*dm, c, numCorners)); in DMPlexCreateCGNS_Internal_Serial()
552 off += numCorners + 1; in DMPlexCreateCGNS_Internal_Serial()
556 PetscCall(CGNSElementTypeGetTopologyInfo(cellType, &ctype, &numCorners, NULL)); in DMPlexCreateCGNS_Internal_Serial()
560 PetscCall(DMPlexSetConeSize(*dm, c, numCorners)); in DMPlexCreateCGNS_Internal_Serial()
579 PetscInt *cone, numc, numCorners, maxCorners = 27, pOrder; in DMPlexCreateCGNS_Internal_Serial() local
590 …l(CGNSElementTypeGetTopologyInfo((CGNS_ENUMT(ElementType_t))elements[v], NULL, &numCorners, NULL)); in DMPlexCreateCGNS_Internal_Serial()
594 … for (v_loc = 0; v_loc < numCorners; ++v_loc, ++v) cone[v_loc] = elements[v] + numCells - 1; in DMPlexCreateCGNS_Internal_Serial()
600 PetscCall(CGNSElementTypeGetTopologyInfo(cellType, NULL, &numCorners, NULL)); in DMPlexCreateCGNS_Internal_Serial()
605 … for (v_loc = 0; v_loc < numCorners; ++v_loc, ++v) cone[v_loc] = elements[v] + numCells - 1; in DMPlexCreateCGNS_Internal_Serial()
842 PetscInt numCorners, cell_dim, *conn_sb_seg; in DMPlexCGNS_CreateCornersConnectivitySection() local
848 … PetscCall(CGNSElementTypeGetTopologyInfo(cellTypes_[c], &dm_cell_type, &numCorners, &cell_dim)); in DMPlexCGNS_CreateCornersConnectivitySection()
852 PetscCall(PetscSegBufferGetInts(conn_sb, numCorners, &conn_sb_seg)); in DMPlexCGNS_CreateCornersConnectivitySection()
854 PetscCall(DMPlexCGNSGetPermutation_Internal(dm_cell_type, numCorners, NULL, &perm)); in DMPlexCGNS_CreateCornersConnectivitySection()
855 … for (PetscInt v = 0; v < numCorners; ++v) conn_sb_seg[perm[v]] = conn_cg[offsets[i] + 1 + v]; in DMPlexCGNS_CreateCornersConnectivitySection()
856 PetscCall(PetscSectionSetDof(section_, c, numCorners)); in DMPlexCGNS_CreateCornersConnectivitySection()
862 PetscInt numCorners, cell_dim; in DMPlexCGNS_CreateCornersConnectivitySection() local
869 …PetscCall(CGNSElementTypeGetTopologyInfo(sectionCellTypes[s], &dm_cell_type, &numCorners, &cell_di… in DMPlexCGNS_CreateCornersConnectivitySection()
877 PetscCall(DMPlexCGNSGetPermutation_Internal(dm_cell_type, numCorners, NULL, &perm)); in DMPlexCGNS_CreateCornersConnectivitySection()
878 PetscCall(PetscSegBufferGetInts(conn_sb, numCorners * myowned, &conn_sb_seg)); in DMPlexCGNS_CreateCornersConnectivitySection()
882 …for (PetscInt v = 0; v < numCorners; ++v) conn_sb_seg[i * numCorners + perm[v]] = conn_cg[i * npe … in DMPlexCGNS_CreateCornersConnectivitySection()
883 PetscCall(PetscSectionSetDof(section_, c, numCorners)); in DMPlexCGNS_CreateCornersConnectivitySection()
1596 PetscInt *elementsQ1, numCorners = -1; in DMPlexCreateCGNS_Internal_Parallel() local
1610 PetscCall(CGNSElementTypeGetTopologyInfo(cellType, &dm_cell_type, &numCorners, &cell_dim)); in DMPlexCreateCGNS_Internal_Parallel()
1628 PetscCall(CGNSElementTypeGetTopologyInfo(cellType, &dm_cell_type, &numCorners, NULL)); in DMPlexCreateCGNS_Internal_Parallel()
1629 PetscCall(PetscMalloc1(myownede * numCorners, &elementsQ1)); in DMPlexCreateCGNS_Internal_Parallel()
1630 PetscCall(DMPlexCGNSGetPermutation_Internal(dm_cell_type, numCorners, NULL, &perm)); in DMPlexCreateCGNS_Internal_Parallel()
1632 …for (PetscInt v = 0; v < numCorners; ++v) elementsQ1[e * numCorners + perm[v]] = elements[e * numC… in DMPlexCreateCGNS_Internal_Parallel()
1637 …PetscCall(DMPlexBuildFromCellListParallel(*dm, myownede, myownedv, NVertices, numCorners, elements… in DMPlexCreateCGNS_Internal_Parallel()