Home
last modified time | relevance | path

Searched refs:faces (Results 1 – 25 of 116) sorted by relevance

12345

/petsc/src/dm/impls/plex/tutorials/
H A Dex20.c12 PetscInt faces[3] = {1, 1, 1}; in main() local
31 PetscCall(PetscOptionsGetIntArray(NULL, NULL, "-dm_plex_box_faces", faces, &n, NULL)); in main()
92 … PetscInt_FMT "), global vector size %" PetscInt_FMT "\n", dim, faces[0], faces[1], faces[2], n_st… in main()
96 PetscCall(DMDACreate1d(PETSC_COMM_WORLD, DM_BOUNDARY_PERIODIC, faces[0], ndof, 1, NULL, &dm)); in main()
99 …OMM_WORLD, DM_BOUNDARY_PERIODIC, DM_BOUNDARY_NONE, DMDA_STENCIL_BOX, faces[0], faces[1] + 1, PETSC… in main()
102 …RIODIC, DM_BOUNDARY_NONE, DM_BOUNDARY_NONE, DMDA_STENCIL_BOX, faces[0], faces[1] + 1, faces[2] + 1… in main()
118 …Int_FMT "), global vector size %" PetscInt_FMT "\n", type, dim, faces[0], faces[1], faces[2], n_st… in main()
138 for (PetscInt d = 0; d < dim; d++) gridSpacing[d] = (upper[d] - lower[d]) / faces[d]; in main()
199 PetscReal noise, gridSpacing = (upper[d] - lower[d]) / faces[d]; in main()
/petsc/src/dm/impls/moab/tests/output/
H A Dex3_1.out9 cells=8, faces=8, vertices=8
17 cells=14, faces=16, vertices=16
25 cells=30, faces=32, vertices=32
H A Dex3_1_1.out9 cells=8, faces=8, vertices=8
17 cells=14, faces=16, vertices=16
25 cells=30, faces=32, vertices=32
H A Dex3_2_1.out9 cells=8, faces=12, vertices=17
17 cells=32, faces=64, vertices=57
25 cells=184, faces=256, vertices=193
H A Dex3_1_2.out9 cells=8, faces=24, vertices=26
17 cells=56, faces=96, vertices=75
25 cells=296, faces=384, vertices=263
/petsc/src/dm/impls/plex/
H A Dplexfluent.c349 const PetscInt *cone, *ornt, *fcone, *fornt, *farr, faces[4] = {0, 1, 3, 2}; in ReorderTetrahedron() local
386 newCone[faces[e + 1]] = cone[c]; in ReorderTetrahedron()
392 …newOrnt[faces[e + 1]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_TRIANGLE, -((c2 + (!e ? 1 : 2… in ReorderTetrahedron()
394 …newOrnt[faces[e + 1]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_TRIANGLE, !e ? (c2 + 1) % 3 :… in ReorderTetrahedron()
411 const PetscInt faces[6] = {0, 5, 3, 4, 2, 1}; in ReorderHexahedron() local
447 newCone[faces[e + 1]] = cone[c]; in ReorderHexahedron()
449 …newOrnt[faces[e + 1]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_QUADRILATERAL, !e ? (c2 + 1) … in ReorderHexahedron()
486 newCone[faces[5]] = cone[c]; in ReorderHexahedron()
488 newOrnt[faces[5]] = DMPolytopeTypeComposeOrientation(DM_POLYTOPE_QUADRILATERAL, c2, ornt[c]); in ReorderHexahedron()
501 const PetscInt faces[5] = {0, 4, 3, 2, 1}; in ReorderWedge() local
[all …]
H A Dplexinterpolate.c46 …*numFaces, const DMPolytopeType *faceTypes[], const PetscInt *faceSizes[], const PetscInt *faces[]) in DMPlexGetRawFaces_Internal() argument
61 if (faces) getSize += PetscSqr(maxSize); in DMPlexGetRawFaces_Internal()
71 if (faces) facesTmp = tmp; in DMPlexGetRawFaces_Internal()
77 if (faces) *faces = facesTmp; in DMPlexGetRawFaces_Internal()
91 if (faces) { in DMPlexGetRawFaces_Internal()
94 *faces = facesTmp; in DMPlexGetRawFaces_Internal()
109 if (faces) { in DMPlexGetRawFaces_Internal()
112 *faces = facesTmp; in DMPlexGetRawFaces_Internal()
129 if (faces) { in DMPlexGetRawFaces_Internal()
136 *faces = facesTmp; in DMPlexGetRawFaces_Internal()
[all …]
H A Dplexcreate.c702 …Tensor_3D_Internal(DM dm, const PetscReal lower[], const PetscReal upper[], const PetscInt faces[]) in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal() argument
705 …PetscInt numFaces = 2 * faces[0] * faces[1] + 2 * faces[1] * faces[2] + 2 * faces[0] * f… in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
722 …PetscCheck(faces[0] >= 1 && faces[1] >= 1 && faces[2] >= 1, PetscObjectComm((PetscObject)dm), PETS… in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
733 vertices[0] = faces[0] + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
734 vertices[1] = faces[1] + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
735 vertices[2] = faces[2] + 1; in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
745 for (vy = 0; vy < faces[1]; vy++) { in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
746 for (vx = 0; vx < faces[0]; vx++) { in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
763 for (vy = 0; vy < faces[1]; vy++) { in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
764 for (vx = 0; vx < faces[0]; vx++) { in DMPlexCreateBoxSurfaceMesh_Tensor_3D_Internal()
[all …]
/petsc/src/dm/impls/swarm/tutorials/
H A Dex1.c14 PetscInt dim, Nc = 1, faces[3]; in main() local
32 PetscCall(PetscOptionsGetIntArray(NULL, NULL, "-dm_plex_box_faces", faces, &bs, NULL)); in main()
36 h[i] = (hi[i] - lo[i]) / faces[i]; in main()
37 …%g hi = %g n = %" PetscInt_FMT " h = %g\n", (double)lo[i], (double)hi[i], faces[i], (double)h[i])); in main()
/petsc/src/dm/impls/plex/tests/
H A Dex43.c22 const PetscInt faces[2] = {3, 1}; in main() local
29 …PetscCall(DMPlexCreateBoxMesh(PETSC_COMM_WORLD, 2, PETSC_FALSE, faces, NULL, NULL, periodicity, PE… in main()
H A Dex74.c55 const PetscInt faces[2] = {3, 2}; in main() local
74 …PetscCall(DMPlexCreateBoxMesh(comm, dim, PETSC_FALSE, faces, lower, upper, periodicity, PETSC_TRUE… in main()
H A Dex70.c25 const PetscInt faces[2] = {2, 2}; in CreateMesh() local
27 …PetscCall(DMPlexCreateBoxMesh(comm, 2, PETSC_TRUE, faces, NULL, NULL, NULL, PETSC_TRUE, 0, PETSC_T… in CreateMesh()
H A Dex71.c94 const PetscInt faces[2] = {2, 2}; in main() local
97 …PetscCall(DMPlexCreateBoxMesh(comm, 2, PETSC_FALSE, faces, NULL, NULL, NULL, PETSC_TRUE, 0, PETSC_… in main()
H A Dex51.c42 const PetscInt faces[2] = {6, 1}; in main() local
46 …PetscCall(DMPlexCreateBoxMesh(PETSC_COMM_WORLD, 2, PETSC_FALSE, faces, NULL, NULL, NULL, PETSC_TRU… in main()
H A Dex69.c611 const PetscInt faces[2] = {1, 1}; in CreateQuadMesh1() local
626 …PetscCall(DMPlexCreateBoxMesh(PETSC_COMM_SELF, 2, PETSC_FALSE, faces, lower, upper, NULL, PETSC_TR… in CreateQuadMesh1()
742 const PetscInt faces[3] = {1, 1, 1}; in CreateHexMesh1() local
759 …PetscCall(DMPlexCreateBoxMesh(PETSC_COMM_SELF, 3, PETSC_FALSE, faces, lower, upper, NULL, PETSC_TR… in CreateHexMesh1()
/petsc/src/dm/impls/plex/tests/output/
H A Dex69_quad_3.out1 [0]New Orientation 1 cells (depth 1) and 2 faces
4 [1]New Orientation 1 cells (depth 1) and 2 faces
7 [2]New Orientation 1 cells (depth 1) and 2 faces
10 [3]New Orientation 1 cells (depth 1) and 2 faces
H A Dex1_fluent_5.out3 [0] <viewer:ascii> DMPlexCreateFluent(): CASE: Found number of faces 264 face vertices: 0
5 [0] <viewer:ascii> DMPlexCreateFluent(): CASE: Found number of cell faces 0
H A Dex69_hex_2.out1 [0]New Orientation 1 cells (depth 2) and 4 faces
4 [1]New Orientation 1 cells (depth 2) and 4 faces
7 [2]New Orientation 1 cells (depth 2) and 4 faces
10 [3]New Orientation 1 cells (depth 2) and 4 faces
H A Dex1_fluent_4.out3 [0] <viewer:ascii> DMPlexCreateFluent(): CASE: Found number of faces 368 face vertices: 0
5 [0] <viewer:ascii> DMPlexCreateFluent(): CASE: Found number of cell faces 6
H A Dex49_2d_sfc.out61 ## faces: 'Face Sets' {1}
/petsc/src/ts/tutorials/output/
H A Dex11_6.out1 Label 'split faces':
/petsc/doc/manualpages/MANSECHeaders/
H A DDMStag3 …es a Cartesian structured mesh, with "staggered" data living on elements, faces, edges, and vertic…
/petsc/src/dm/impls/swarm/tests/
H A Dmakefile12 …-${MPIEXEC} -n ${NP} ${MPIEXEC_TAIL} ./ex2 -dim 2 -pc_type lu -faces ${N} -particles_cell ${P} -pe…
/petsc/src/dm/impls/plex/generators/ctetgen/
H A Dctetgenerate.c197 const PetscInt *faces; in DMPlexGenerate_CTetgen() local
200 PetscCall(DMPlexGetFullJoin(*dm, 3, vertices, &numFaces, &faces)); in DMPlexGenerate_CTetgen()
202 …PetscCall(DMUniversalLabelSetLabelValue(universal, *dm, PETSC_TRUE, faces[0], out->trifacemarkerli… in DMPlexGenerate_CTetgen()
203 PetscCall(DMPlexRestoreJoin(*dm, 3, vertices, &numFaces, &faces)); in DMPlexGenerate_CTetgen()
472 const PetscInt *faces; in DMPlexRefine_CTetgen() local
475 PetscCall(DMPlexGetFullJoin(*dmRefined, 3, vertices, &numFaces, &faces)); in DMPlexRefine_CTetgen()
477 …PetscCall(DMUniversalLabelSetLabelValue(universal, *dmRefined, PETSC_TRUE, faces[0], out->trifacem… in DMPlexRefine_CTetgen()
478 PetscCall(DMPlexRestoreJoin(*dmRefined, 3, vertices, &numFaces, &faces)); in DMPlexRefine_CTetgen()
/petsc/src/dm/impls/plex/generators/tetgen/
H A Dtetgenerate.cxx210 const PetscInt *faces; in DMPlexGenerate_Tetgen() local
213 PetscCall(DMPlexGetFullJoin(*dm, 3, vertices, &numFaces, &faces)); in DMPlexGenerate_Tetgen()
215 …PetscCall(DMUniversalLabelSetLabelValue(universal, *dm, PETSC_TRUE, faces[0], out.trifacemarkerlis… in DMPlexGenerate_Tetgen()
216 PetscCall(DMPlexRestoreJoin(*dm, 3, vertices, &numFaces, &faces)); in DMPlexGenerate_Tetgen()
491 const PetscInt *faces; in DMPlexRefine_Tetgen() local
494 PetscCall(DMPlexGetFullJoin(*dmRefined, 3, vertices, &numFaces, &faces)); in DMPlexRefine_Tetgen()
496 …PetscCall(DMUniversalLabelSetLabelValue(universal, *dmRefined, PETSC_TRUE, faces[0], out.trifacema… in DMPlexRefine_Tetgen()
497 PetscCall(DMPlexRestoreJoin(*dmRefined, 3, vertices, &numFaces, &faces)); in DMPlexRefine_Tetgen()

12345