Home
last modified time | relevance | path

Searched refs:numVerts (Results 1 – 5 of 5) sorted by relevance

/petsc/src/dm/impls/plex/
H A Dplexgmsh.c114 int numVerts; member
482 PetscInt numVerts; /* Size of vertex array */ member
512 PetscInt numVerts; member
587 int cellType, numElem, numVerts, numNodes, numTags; in GmshReadElements_v22() local
607 numVerts = GmshCellMap[cellType].numVerts; in GmshReadElements_v22()
619 element->numVerts = numVerts; in GmshReadElements_v22()
782 int eid, dim, cellType, numVerts, numNodes, numTags; in GmshReadElements_v40() local
803 numVerts = GmshCellMap[cellType].numVerts; in GmshReadElements_v40()
818 element->numVerts = numVerts; in GmshReadElements_v40()
1026 …PetscCount sizes[4], numEntityBlocks, numElements, numBlockElements, numVerts, numNodes, numTags… in GmshReadElements_v41() local
[all …]
H A Dplexcreate.c947 PetscInt i, fStart, fEnd, numCells = 0, numVerts = 0; in DMPlexCreateLineMesh_Internal() local
966 if (rank == 0) numVerts = segments + (wrap ? 0 : 1); in DMPlexCreateLineMesh_Internal()
968 numPoints[0] = numVerts; in DMPlexCreateLineMesh_Internal()
970 …scCall(PetscMalloc4(numCells + numVerts, &coneSize, numCells * 2, &cones, numCells + numVerts, &co… in DMPlexCreateLineMesh_Internal()
971 PetscCall(PetscArrayzero(coneOrientations, numCells + numVerts)); in DMPlexCreateLineMesh_Internal()
973 for (i = 0; i < numVerts; ++i) coneSize[numCells + i] = 0; in DMPlexCreateLineMesh_Internal()
975 cones[2 * i] = numCells + i % numVerts; in DMPlexCreateLineMesh_Internal()
976 cones[2 * i + 1] = numCells + (i + 1) % numVerts; in DMPlexCreateLineMesh_Internal()
978 …for (i = 0; i < numVerts; ++i) vertexCoords[i] = lower + (upper - lower) * ((PetscReal)i / (PetscR… in DMPlexCreateLineMesh_Internal()
3184 PetscInt numCells, numEdges, numVerts = 0, firstVertex = 0, v, firstEdge, coordSize, d, e; in DMPlexCreateSphereMesh_Internal() local
[all …]
H A Dplextree.c222 …ls, *unionCones, *coneSizes, *unionOrientations, numUnionPoints, *numDimPoints, numCones, numVerts; in DMPlexCreateReferenceTree_Union() local
357 numVerts = numDimPoints[0]; in DMPlexCreateReferenceTree_Union()
358 PetscCall(PetscMalloc1(numVerts * dim, &unionCoords)); in DMPlexCreateReferenceTree_Union()
/petsc/src/dm/impls/forest/p4est/
H A Dpforest.h259 PetscInt i, numVerts; in DMFTopologyCreateBrick_pforest() local
271 numVerts = (*topo)->conn->num_vertices; in DMFTopologyCreateBrick_pforest()
273 for (i = 0; i < 3 * numVerts; i++) { in DMFTopologyCreateBrick_pforest()
1503 p4est_topidx_t numTrees, numVerts, numCorns, numCtt; in DMPlexCreateConnectivity_pforest() local
1523 numVerts = P4EST_CHILDREN * numTrees; in DMPlexCreateConnectivity_pforest()
1587 …PetscCallP4estReturn(conn, p8est_connectivity_new, (numVerts, numTrees, numEdges, numEtt, numCorns… in DMPlexCreateConnectivity_pforest()
1589 PetscCallP4estReturn(conn, p4est_connectivity_new, (numVerts, numTrees, numCorns, numCtt)); in DMPlexCreateConnectivity_pforest()
/petsc/src/ts/utils/dmplexlandau/
H A Dplexland.c633 const PetscInt numVerts = 11; in LandauDMCreateVMeshes() local
678 …PetscCall(DMPlexCreateFromCellListPetsc(comm_self, 2, numCells, numVerts, cell_size, ctx->interpol… in LandauDMCreateVMeshes()
685 const PetscInt numCells = 7, cell_size = 8, numVerts = 16; in LandauDMCreateVMeshes() local
716 …PetscCall(DMPlexCreateFromCellListPetsc(comm_self, 3, numCells, numVerts, cell_size, ctx->interpol… in LandauDMCreateVMeshes()