| /petsc/src/dm/impls/plex/tests/ |
| H A D | ex4.c | 61 PetscInt coneOrientations[16] = {0, 0, 0, 0}; in CreateSimplex_1D() local 64 …PetscCall(DMPlexCreateFromDAG(*dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoor… in CreateSimplex_1D() 114 PetscInt coneOrientations[16] = {0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in CreateSimplex_2D() local 117 …PetscCall(DMPlexCreateFromDAG(*dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoor… in CreateSimplex_2D() 152 PetscInt coneOrientations[6] = {0, 0, 0, 0, 0, 0}; in CreateSimplexHybrid_2D() local 156 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplexHybrid_2D() 163 PetscInt coneOrientations[12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in CreateSimplexHybrid_2D() local 167 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplexHybrid_2D() 224 …PetscInt coneOrientations[22] = {0, 0, 0, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0… in CreateTensorProduct_2D() local 227 …PetscCall(DMPlexCreateFromDAG(*dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoor… in CreateTensorProduct_2D() [all …]
|
| H A D | ex7.c | 177 PetscInt coneOrientations[6] = {0, 0, 0, 0, 0, 0}; in CreateSimplex_2D() local 181 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_2D() 209 PetscInt coneOrientations[8] = {0, 0, 0, 0, 0, 0, 0, 0}; in CreateSimplex_3D() local 213 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_3D() 241 PetscInt coneOrientations[8] = {0, 0, 0, 0, 0, 0, 0, 0}; in CreateQuad_2D() local 245 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateQuad_2D() 252 PetscInt coneOrientations[7] = {0, 0, 0, 0, 0, 0, 0}; in CreateQuad_2D() local 256 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateQuad_2D() 284 PetscInt coneOrientations[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in CreateHex_3D() local 288 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateHex_3D()
|
| H A D | ex5.c | 439 PetscInt coneOrientations[6] = {0, 0, 0, 0, 0, 0}; in CreateSimplex_2D() local 444 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplex_2D() 454 PetscInt coneOrientations[12] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in CreateSimplex_2D() local 459 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplex_2D() 473 PetscInt coneOrientations[18] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in CreateSimplex_2D() local 480 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplex_2D() 497 PetscInt coneOrientations[18] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in CreateSimplex_2D() local 502 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateSimplex_2D() 542 …PetscInt coneOrientations[47] = {0, 0, 0, 0, 0, -2, 2, 2, 0, -1, -1, 0, -1, -1, 0, -1, -1, 0, 0… in CreateSimplex_3D() local 547 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_3D() [all …]
|
| H A D | ex34.c | 41 PetscInt coneOrientations[14] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; in CreateHybridMesh() local 44 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateHybridMesh() 90 …PetscInt coneOrientations[34] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,… in CreateReverseHybridMesh() local 94 …PetscCall(DMPlexCreateFromDAG(*dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in CreateReverseHybridMesh()
|
| H A D | ex9.c | 90 PetscInt coneOrientations[6] = {0, 0, 0, 0, 0, 0}; in CreateSimplex_2D() local 100 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_2D() 112 PetscInt coneOrientations[8] = {0, 0, 0, 0, 0, 0, 0, 0}; in CreateSimplex_3D() local 122 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateSimplex_3D() 134 PetscInt coneOrientations[8] = {0, 0, 0, 0, 0, 0, 0, 0}; in CreateQuad_2D() local 144 …PetscCall(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoord… in CreateQuad_2D() 156 PetscInt coneOrientations[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; 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 | 17 PetscInt, dimension(16) :: coneOrientations 38 coneOrientations = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] 55 …PetscCallA(DMPlexCreateFromDAG(dm, depth, numPoints, coneSize, cones, coneOrientations, vertexCoor…
|
| /petsc/src/dm/impls/plex/ |
| H A D | plexcreate.c | 471 PetscInt coneOrientations[6] = {0, 0, 0, 0, 0, 0}; in DMPlexCreateDoublet() local 474 … PetscCall(DMPlexCreateFromDAG(dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in DMPlexCreateDoublet() 479 PetscInt coneOrientations[8] = {0, 0, 0, 0, 0, 0, 0, 0}; in DMPlexCreateDoublet() local 482 … PetscCall(DMPlexCreateFromDAG(dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in DMPlexCreateDoublet() 490 PetscInt coneOrientations[8] = {0, 0, 0, 0, 0, 0, 0, 0}; in DMPlexCreateDoublet() local 493 … PetscCall(DMPlexCreateFromDAG(dm, 1, numPoints, coneSize, cones, coneOrientations, vertexCoords)); in DMPlexCreateDoublet() 498 PetscInt coneOrientations[16] = {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; 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 … + numVerts, &coneSize, numCells * 2, &cones, numCells + numVerts, &coneOrientations, numVerts, &v… in DMPlexCreateLineMesh_Internal() [all …]
|
| H A D | plexreorder.c | 306 PetscCall(PetscMalloc1(n, &plexNew->coneOrientations)); in DMPlexPermute() 317 plexNew->coneOrientations[offNew + d] = plex->coneOrientations[off + d]; in DMPlexPermute()
|
| H A D | plex.c | 1059 …--- %" PetscInt_FMT " (%" PetscInt_FMT ")\n", rank, p, mesh->cones[c], mesh->coneOrientations[c])); in DMPlexView_Ascii() 2847 PetscCall(PetscFree(mesh->coneOrientations)); in DMDestroy_Plex() 3508 *coneOrientation = &mesh->coneOrientations[off]; in DMPlexGetConeOrientation() 3550 mesh->coneOrientations[off + c] = o; in DMPlexSetConeOrientation() 3553 for (c = 0; c < dof; ++c) mesh->coneOrientations[off + c] = coneOrientation[c]; in DMPlexSetConeOrientation() 3626 mesh->coneOrientations[off + conePos] = coneOrientation; in DMPlexInsertConeOrientation() 3683 if (ornt) *ornt = PetscSafePointerPlusOffset(mesh->coneOrientations, off); in DMPlexGetOrientedCone() 3989 *ornt = mesh->coneOrientations + off; in DMPlexGetTransitiveClosure_Hot_Private() 4319 PetscCall(PetscCalloc1(size, &mesh->coneOrientations)); in DMSetUp_Plex() 5885 PetscErrorCode DMPlexGetConeOrientations(DM dm, PetscInt *coneOrientations[]) in DMPlexGetConeOrientations() argument [all …]
|
| /petsc/src/dm/impls/plex/hdf5/ |
| H A D | plexhdf5.c | 2385 IS coneOrientations = layer->orientationsIS; in PlexLayerCreateSFs_Private() local 2402 if (coneOrientations) { in PlexLayerCreateSFs_Private() 2405 PetscCall(ISGetLocalSize(coneOrientations, &n0)); in PlexLayerCreateSFs_Private() 2407 PetscCall(ISGetIndices(coneOrientations, &co)); in PlexLayerCreateSFs_Private()
|
| /petsc/include/petsc/private/ |
| H A D | dmpleximpl.h | 129 …PetscInt *coneOrientations; /* Orientation of each cone point, means cone traversal should star… member
|