Home
last modified time | relevance | path

Searched refs:cellType (Results 1 – 9 of 9) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexvtk.c4 …cErrorCode DMPlexVTKGetCellType_Internal(DM dm, PetscInt dim, PetscInt corners, PetscInt *cellType) in DMPlexVTKGetCellType_Internal() argument
7 *cellType = -1; in DMPlexVTKGetCellType_Internal()
12 *cellType = 1; /* VTK_VERTEX */ in DMPlexVTKGetCellType_Internal()
21 *cellType = 3; /* VTK_LINE */ in DMPlexVTKGetCellType_Internal()
24 *cellType = 21; /* VTK_QUADRATIC_EDGE */ in DMPlexVTKGetCellType_Internal()
33 *cellType = 5; /* VTK_TRIANGLE */ in DMPlexVTKGetCellType_Internal()
36 *cellType = 9; /* VTK_QUAD */ in DMPlexVTKGetCellType_Internal()
39 *cellType = 22; /* VTK_QUADRATIC_TRIANGLE */ in DMPlexVTKGetCellType_Internal()
42 *cellType = 23; /* VTK_QUADRATIC_QUAD */ in DMPlexVTKGetCellType_Internal()
51 *cellType = 10; /* VTK_TETRA */ in DMPlexVTKGetCellType_Internal()
[all …]
H A Dplexgenerate.c17 PetscErrorCode DMPlexInvertCell(DMPolytopeType cellType, PetscInt cone[]) in DMPlexInvertCell() argument
28 switch (cellType) { in DMPlexInvertCell()
82 DMPolytopeType cellType; in DMPlexReorderCell() local
85 PetscCall(DMPlexGetCellType(dm, cell, &cellType)); in DMPlexReorderCell()
86 PetscCall(DMPlexInvertCell(cellType, cone)); in DMPlexReorderCell()
H A Dplexgmsh.c110 int cellType; member
119 #define GmshCellEntry(cellType, polytope, dim, order) {cellType, GMSH_##polytope, dim, order, GmshN… argument
178 GmshCellMap[i].cellType = -1; in GmshCellInfoSetUp()
183 if (GmshCellTable[i].cellType <= 0) continue; in GmshCellInfoSetUp()
184 GmshCellMap[GmshCellTable[i].cellType] = GmshCellTable[i]; in GmshCellInfoSetUp()
190 …GE, "Invalid Gmsh element type %d", _ct_); PetscCheck(GmshCellMap[_ct_].cellType == _ct_, PETSC_CO…
481 PetscInt cellType; /* Cell type */ member
587 int cellType, numElem, numVerts, numNodes, numTags; in GmshReadElements_v22() local
602 cellType = binary ? ibuf[0] : ibuf[1]; in GmshReadElements_v22()
606 PetscCall(GmshCellTypeCheck(cellType)); in GmshReadElements_v22()
[all …]
H A Dplexglvis.c778 DMPolytopeType cellType; in DMPlexView_GLVis_ASCII() local
781 PetscCall(DMPlexGetCellType(dm, p, &cellType)); in DMPlexView_GLVis_ASCII()
787 uvpc = DMPolytopeTypeGetNumVertices(cellType); in DMPlexView_GLVis_ASCII()
959 DMPolytopeType cellType; in DMPlexView_GLVis_ASCII() local
974 PetscCall(DMPlexGetCellType(dm, cell, &cellType)); in DMPlexView_GLVis_ASCII()
976 …PetscCall(DMPlexGetRawFaces_Internal(dm, cellType, vids, NULL, &faceTypes, &faceSizes, (const Pets… in DMPlexView_GLVis_ASCII()
982 …PetscCall(DMPlexRestoreRawFaces_Internal(dm, cellType, vids, NULL, &faceTypes, &faceSizes, (const … in DMPlexView_GLVis_ASCII()
/petsc/src/dm/impls/plex/tests/
H A Dex97.c10 DMPolytopeType cellType; in main() local
35 PetscCall(DMPlexGetCellType(dm, p, &cellType)); in main()
36 PetscCall(PetscPrintf(PETSC_COMM_SELF, "cell: %" PetscInt_FMT " type: %d\n", p, cellType)); in main()
H A Dex97f90.F9015 DMPolytopeType :: cellType
35 PetscCallA(DMPlexGetCellType(dm, p, cellType, ierr))
36 write (IOBuffer, '("cell: ",i3," type: ",i3,"\n")') p, cellType
/petsc/src/dm/impls/plex/cgns/
H A Dplexcgns2.c196 static inline PetscErrorCode CGNSElementTypeGetTopologyInfo(CGNS_ENUMT(ElementType_t) cellType, DMP… in CGNSElementTypeGetTopologyInfo() argument
201 switch (cellType) { in CGNSElementTypeGetTopologyInfo()
270 SETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Invalid CGNS ElementType_t: %d", (int)cellType); in CGNSElementTypeGetTopologyInfo()
291 …rrorCode CGNSElementTypeGetDiscretizationInfo(CGNS_ENUMT(ElementType_t) cellType, PetscInt *numClo… in CGNSElementTypeGetDiscretizationInfo() argument
296 switch (cellType) { in CGNSElementTypeGetDiscretizationInfo()
412 …ETERRQ(PETSC_COMM_SELF, PETSC_ERR_ARG_WRONG, "Unsupported or Invalid cell type %d", (int)cellType); in CGNSElementTypeGetDiscretizationInfo()
527 CGNS_ENUMT(ElementType_t) cellType; in DMPlexCreateCGNS_Internal_Serial()
538 …PetscCallCGNSRead(cg_section_read(cgid, B, z, S, buffer, &cellType, &start, &end, &nbndry, &parent… in DMPlexCreateCGNS_Internal_Serial()
539 if (cellType == CGNS_ENUMV(MIXED)) { in DMPlexCreateCGNS_Internal_Serial()
556 PetscCall(CGNSElementTypeGetTopologyInfo(cellType, &ctype, &numCorners, NULL)); in DMPlexCreateCGNS_Internal_Serial()
[all …]
/petsc/include/petsc/private/
H A Dpetscfvimpl.h90 PetscInt cellType; member
H A Dpetscfeimpl.h246 PetscInt cellType; member