| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex4.c | 60 PetscInt cones[4] = {2, 3, 3, 4}; in CreateSimplex_1D() local 64 …PetscCall(DMPlexCreateFromDAG(*dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoor… in CreateSimplex_1D() 113 PetscInt cones[16] = {6, 7, 8, 7, 9, 10, 2, 3, 3, 4, 4, 2, 3, 5, 5, 4}; in CreateSimplex_2D() local 117 …PetscCall(DMPlexCreateFromDAG(*dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoor… in CreateSimplex_2D() 151 PetscInt cones[6] = {2, 3, 4, 5, 4, 3}; in CreateSimplexHybrid_2D() local 156 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplexHybrid_2D() 162 PetscInt cones[12] = {4, 5, 6, 6, 7, 4, 6, 5, 8, 6, 8, 7}; in CreateSimplexHybrid_2D() local 167 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplexHybrid_2D() 223 …PetscInt cones[22] = {8, 9, 10, 11, 12, 13, 14, 9, 2, 3, 3, 4, 4, 5, 5, 2, 3, 6, 6, … in CreateTensorProduct_2D() local 227 …PetscCall(DMPlexCreateFromDAG(*dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoor… in CreateTensorProduct_2D() [all …]
|
| H A D | ex7.c | 176 PetscInt cones[6] = {2, 3, 4, 5, 4, 3}; in CreateSimplex_2D() local 181 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_2D() 208 PetscInt cones[8] = {2, 4, 3, 5, 3, 4, 6, 5}; in CreateSimplex_3D() local 213 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_3D() 240 PetscInt cones[8] = {2, 3, 4, 5, 3, 6, 7, 4}; in CreateQuad_2D() local 245 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateQuad_2D() 251 PetscInt cones[7] = {2, 3, 4, 5, 3, 6, 4}; in CreateQuad_2D() local 256 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateQuad_2D() 283 PetscInt cones[16] = {2, 5, 4, 3, 6, 7, 8, 9, 3, 4, 11, 10, 7, 12, 13, 8}; in CreateHex_3D() local 288 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateHex_3D()
|
| H A D | ex66.c | 71 PetscInt cones[11] = {3, 4, 2, 1, 7, 5, 6, 8, 6, 9}; in main() local 75 …PetscCall(DMPlexCreateFromDAG(dm, 3, num_points, cone_size, cones, cone_orientations, vertex_coord… in main() 90 PetscInt cones[11] = {3, 4, 2, 1, 7, 5, 6, 8, 6, 9, 8}; in main() local 102 …PetscCall(DMPlexCreateFromDAG(dm, 3, num_points, cone_size, cones, cone_orientations, vertex_coord… in main()
|
| H A D | ex5.c | 438 PetscInt cones[6] = {2, 3, 4, 5, 4, 3}; in CreateSimplex_2D() local 444 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplex_2D() 453 PetscInt cones[12] = {4, 6, 5, 5, 6, 7, 8, 5, 9, 8, 4, 5}; in CreateSimplex_2D() local 459 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplex_2D() 472 …PetscInt cones[18] = {6, 7, 9, 9, 12, 11, 7, 12, 9, 7, 8, 10, 10, 13, 12, 7, 10, 12}; in CreateSimplex_2D() local 480 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplex_2D() 496 … PetscInt cones[18] = {6, 7, 8, 8, 9, 6, 7, 10, 8, 9, 8, 12, 8, 10, 11, 11, 12, 8}; in CreateSimplex_2D() local 502 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplex_2D() 541 …PetscInt cones[47] = {7, 8, 9, 10, 11, 10, 13, 12, 15, 17, 14, 16, 18, 15, 14, 19, 1… in CreateSimplex_3D() local 547 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_3D() [all …]
|
| H A D | ex34.c | 40 PetscInt cones[14] = {4, 5, 6, 3, 7, 9, 8, 10, 4, 5, 6, 7, 8, 9}; in CreateHybridMesh() local 44 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateHybridMesh() 89 …PetscInt cones[34] = {5, 6, 12, 11, 8, 14, 15, 9, 6, 7, 13, 12, 9, 15, 16, 10, 11, 1… in CreateReverseHybridMesh() local 94 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateReverseHybridMesh()
|
| H A D | ex9.c | 89 PetscInt cones[6] = {2, 3, 4, 5, 4, 3}; in CreateSimplex_2D() local 100 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_2D() 111 PetscInt cones[8] = {2, 4, 3, 5, 3, 4, 6, 5}; in CreateSimplex_3D() local 122 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_3D() 133 PetscInt cones[8] = {2, 3, 4, 5, 3, 6, 7, 4}; in CreateQuad_2D() local 144 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateQuad_2D() 155 PetscInt cones[16] = {2, 5, 4, 3, 6, 7, 8, 9, 3, 4, 11, 10, 7, 12, 13, 8}; in CreateHex_3D() local 166 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateHex_3D()
|
| /petsc/src/dm/impls/plex/tutorials/ |
| H A D | ex3f90.F90 | 16 PetscInt, dimension(16) :: cones 37 cones = [2, 5, 4, 3, 6, 7, 8, 9, 3, 4, 11, 10, 7, 12, 13, 8] 55 …PetscCallA(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoor…
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5xdmf.c | 33 PetscInt dim, *cones, cHeight, cStart, cEnd, p; in DMPlexInvertCells_XDMF_Private() local 39 PetscCall(DMPlexGetCones(dm, &cones)); in DMPlexInvertCells_XDMF_Private() 50 PetscCall(DMPlexInvertCell(DM_POLYTOPE_TETRAHEDRON, &cones[o])); in DMPlexInvertCells_XDMF_Private() 53 PetscCall(DMPlexInvertCell(DM_POLYTOPE_TRI_PRISM, &cones[o])); in DMPlexInvertCells_XDMF_Private() 56 PetscCall(DMPlexInvertCell(DM_POLYTOPE_HEXAHEDRON, &cones[o])); in DMPlexInvertCells_XDMF_Private()
|
| H A D | plexhdf5.c | 841 PetscInt *coneSizes, *cones, *orientations; in DMPlexTopologyView_HDF5_Inner_Private() local 862 PetscCall(PetscMalloc1(conesSize, &cones)); in DMPlexTopologyView_HDF5_Inner_Private() 874 cones[c] = gpoint[cone[cp]] < 0 ? -(gpoint[cone[cp]] + 1) : gpoint[cone[cp]]; in DMPlexTopologyView_HDF5_Inner_Private() 883 PetscCall(ISCreateGeneral(comm, conesSize, cones, PETSC_OWN_POINTER, &conesIS)); in DMPlexTopologyView_HDF5_Inner_Private() 2126 const PetscInt *points, *coneSizes, *cones, *orientations; in DMPlexTopologyLoad_HDF5_Legacy_Private() local 2179 PetscCall(ISGetIndices(conesIS, &cones)); in DMPlexTopologyLoad_HDF5_Legacy_Private() 2184 cone[c] = cones[q]; in DMPlexTopologyLoad_HDF5_Legacy_Private() 2212 PetscCall(ISRestoreIndices(conesIS, &cones)); in DMPlexTopologyLoad_HDF5_Legacy_Private() 2540 PetscInt *cones, *ornts; in DMPlexTopologyBuildFromLayers_Private() local 2542 PetscCall(DMPlexGetCones(dm, &cones)); in DMPlexTopologyBuildFromLayers_Private() [all …]
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcreate.c | 470 PetscInt cones[6] = {2, 3, 4, 5, 4, 3}; in DMPlexCreateDoublet() local 474 … PetscCall(DMPlexCreateFromDAG(dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in DMPlexCreateDoublet() 478 PetscInt cones[8] = {2, 3, 4, 5, 3, 6, 7, 4}; in DMPlexCreateDoublet() local 482 … PetscCall(DMPlexCreateFromDAG(dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in DMPlexCreateDoublet() 489 PetscInt cones[8] = {4, 3, 5, 2, 5, 3, 4, 6}; in DMPlexCreateDoublet() local 493 … PetscCall(DMPlexCreateFromDAG(dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in DMPlexCreateDoublet() 497 PetscInt cones[16] = {2, 3, 4, 5, 6, 7, 8, 9, 5, 4, 10, 11, 7, 12, 13, 8}; in DMPlexCreateDoublet() local 501 … PetscCall(DMPlexCreateFromDAG(dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in DMPlexCreateDoublet() 948 PetscInt numPoints[2], *coneSize, *cones, *coneOrientations; in DMPlexCreateLineMesh_Internal() local 970 …PetscCall(PetscMalloc4(numCells + numVerts, &coneSize, numCells * 2, &cones, numCells + numVerts, … in DMPlexCreateLineMesh_Internal() [all …]
|
| H A D | plexreorder.c | 305 PetscCall(PetscMalloc1(n, &plexNew->cones)); in DMPlexPermute() 316 plexNew->cones[offNew + d] = pperm[plex->cones[off + d]]; in DMPlexPermute()
|
| H A D | plexdistribute.c | 1106 PetscInt *remoteOffsets, *cones, *globCones, *newCones, newConesSize; in DMPlexDistributeCones() local 1122 PetscCall(DMPlexGetCones(dm, &cones)); in DMPlexDistributeCones() 1128 PetscCall(ISLocalToGlobalMappingApplyBlock(original, numCones, cones, globCones)); in DMPlexDistributeCones() 1130 globCones = cones; in DMPlexDistributeCones() 1157 PetscCall(DMPlexGetConeOrientations(dm, &cones)); in DMPlexDistributeCones() 1159 PetscCall(PetscSFBcastBegin(coneSF, MPIU_INT, cones, newCones, MPI_REPLACE)); in DMPlexDistributeCones() 1160 PetscCall(PetscSFBcastEnd(coneSF, MPIU_INT, cones, newCones, MPI_REPLACE)); in DMPlexDistributeCones()
|
| H A D | plexfluent.c | 845 PetscInt *cones, csize, foffset = 0; in DMPlexCreateFluent() local 847 PetscCall(DMPlexGetCones(*dm, &cones)); in DMPlexCreateFluent() 850 for (PetscInt c = 0; c < csize; ++c) cones[c] = -1; in DMPlexCreateFluent()
|
| H A D | plex.c | 1059 …cInt_FMT " <---- %" PetscInt_FMT " (%" PetscInt_FMT ")\n", rank, p, mesh->cones[c], mesh->coneOrie… in DMPlexView_Ascii() 2846 PetscCall(PetscFree(mesh->cones)); in DMDestroy_Plex() 3212 *cone = PetscSafePointerPlusOffset(mesh->cones, off); in DMPlexGetCone() 3236 PetscInt *cones; in DMPlexGetConeTuple() local 3241 PetscCall(DMPlexGetCones(dm, &cones)); in DMPlexGetConeTuple() 3243 …PetscCall(PetscSectionExtractDofsFromArray(cs, MPIU_INT, cones, p, &newcs, pCones ? ((void **)&new… in DMPlexGetConeTuple() 3458 mesh->cones[off + c] = cone[c]; in DMPlexSetCone() 3461 for (c = 0; c < dof; ++c) mesh->cones[off + c] = cone[c]; in DMPlexSetCone() 3548 PetscCall(PetscSectionGetDof(mesh->coneSection, mesh->cones[off + c], &cdof)); in DMPlexSetConeOrientation() 3589 mesh->cones[off + conePos] = conePoint; in DMPlexInsertCone() [all …]
|
| H A D | plexinterpolate.c | 687 PetscInt *cones, csize; in DMPlexInterpolateFaces_Internal() local 690 PetscCall(DMPlexGetCones(idm, &cones)); in DMPlexInterpolateFaces_Internal() 692 for (PetscInt c = 0; c < csize; ++c) cones[c] = -1; in DMPlexInterpolateFaces_Internal()
|
| H A D | plexgeometry.c | 2661 const PetscInt *support, *cones; in DMPlexComputeGeometryFVM_0D_Internal() local 2676 PetscCall(DMPlexGetCone(dm, support[0], &cones)); in DMPlexComputeGeometryFVM_0D_Internal() 2677 sign = cones[0] == cell ? 1.0 : -1.0; in DMPlexComputeGeometryFVM_0D_Internal()
|
| H A D | plextree.c | 2036 PetscInt *coneSizes, *cones, *orientations; in DMPlexTreeRefineCell() local 2048 PetscCall(DMPlexGetCones(dm, &cones)); in DMPlexTreeRefineCell() 2055 PetscCall(DMPlexCreateFromDAG(*ncdm, dim, counts, coneSizes, cones, orientations, NULL)); in DMPlexTreeRefineCell()
|
| H A D | plexsubmesh.c | 3116 const PetscInt p = submesh->cones[off + d]; in DMPlexInsertFace_Internal()
|
| /petsc/src/binding/petsc4py/docs/ipynb/ |
| H A D | dmplex.ipynb | 146 …om our original mesh encoding. Here we summarize what we observe from the cones of the chart entit… 148 …"* Points 0 through 3 correspond to quad cells. So their cones are made up of lists of 4 integers … 286 …"The depths listed match our intuition of which entities were which when we looked at the cones an… 405 …d *joins*. A *meet* of a set of points is the intersection of the points' cones and a *join* is th… 472 …cones. In other words, it is all points of lower or equal dimension that this point can \"reach\".…
|
| /petsc/doc/manual/ |
| H A D | dmplex.md | 107 … what it covers (support). Note that when using automatic symmetrization, cones will be ordered bu… 492 dataset /topologies/plexA/topology/cones 529 dataset /topologies/plexA/topology/strata/0/cones 533 dataset /topologies/plexA/topology/strata/1/cones 537 dataset /topologies/plexA/topology/strata/2/cones 541 dataset /topologies/plexA/topology/strata/3/cones 554 Points forming the cone are then given by `cones[o:o+cone_sizes[i]]` (in numbering relative to the …
|
| /petsc/src/dm/impls/forest/p4est/ |
| H A D | pforest.h | 1882 sc_array_t *cones = sc_array_new(sizeof(p4est_locidx_t)); in P4estToPlex_Local() local 1892 …st, P4EST_CONNECT_FULL, 0, &first_local_quad, points_per_dim, cone_sizes, cones, cone_orientations… in P4estToPlex_Local() 1896 PetscCall(locidx_to_PetscInt(cones)); in P4estToPlex_Local() 1902 …scInt *)points_per_dim->array, (PetscInt *)cone_sizes->array, (PetscInt *)cones->array, (PetscInt … in P4estToPlex_Local() 1906 sc_array_destroy(cones); in P4estToPlex_Local() 4118 …sc_array_t *points_per_dim, *cone_sizes, *cones, *cone_orientations, *coords, *children, … in DMConvert_pforest_plex() local 4169 cones = sc_array_new(sizeof(p4est_locidx_t)); in DMConvert_pforest_plex() 4178 …(size > 1) ? overlap : 0), &first_local_quad, points_per_dim, cone_sizes, cones, cone_orientations… in DMConvert_pforest_plex() 4184 PetscCall(locidx_to_PetscInt(cones)); in DMConvert_pforest_plex() 4196 …scInt *)points_per_dim->array, (PetscInt *)cone_sizes->array, (PetscInt *)cones->array, (PetscInt … in DMConvert_pforest_plex() [all …]
|
| /petsc/src/dm/impls/plex/cgns/ |
| H A D | plexcgns2.c | 1384 PetscInt *cones; in DMPlexCGNS_MatchCGNSFacesToPlexFaces() local 1388 PetscCall(DMPlexGetCones(dm, &cones)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces() 1391 PetscCall(PetscSectionArrayView(conesSection, cones, PETSC_INT, NULL)); in DMPlexCGNS_MatchCGNSFacesToPlexFaces()
|
| /petsc/include/petsc/private/ |
| H A D | dmpleximpl.h | 128 PetscInt *cones; /* Cone for each point */ member
|
| /petsc/doc/ |
| H A D | petsc.bib | 1448 title = {Micromagnetic modelling of ferromagnetic cones}, 34538 of cones},
|