Home
last modified time | relevance | path

Searched refs:nface (Results 1 – 4 of 4) sorted by relevance

/petsc/src/ts/tutorials/
H A Dex48.c375 PetscInt nface = 1; in CreateMesh() local
386 while (nface * nface < size) nface *= 2; // 2D in CreateMesh()
387 if (nface < 2) nface = 2; in CreateMesh()
388 …, sizeof(buff), "-dm_plex_box_faces %d,%d -petscpartitioner_type simple", (int)nface, (int)nface)); in CreateMesh()
/petsc/src/dm/impls/plex/
H A Dplexsfc.c1055 PetscInt nface = 0, *new_local; in DMPlexMigrateIsoperiodicFaceSF_Internal() local
1057 for (PetscInt i = 0; i < new_npoints; i++) nface += (new_leafdata[i].rank >= 0); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1058 PetscCall(PetscMalloc1(nface, &new_local)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1059 PetscCall(PetscMalloc1(nface, &new_remote)); in DMPlexMigrateIsoperiodicFaceSF_Internal()
1060 nface = 0; in DMPlexMigrateIsoperiodicFaceSF_Internal()
1063 new_local[nface] = i; in DMPlexMigrateIsoperiodicFaceSF_Internal()
1064 new_remote[nface] = new_leafdata[i]; in DMPlexMigrateIsoperiodicFaceSF_Internal()
1065 nface++; in DMPlexMigrateIsoperiodicFaceSF_Internal()
1069 …PetscCall(PetscSFSetGraph(new_face_sfs[f], new_npoints, nface, new_local, PETSC_OWN_POINTER, new_r… in DMPlexMigrateIsoperiodicFaceSF_Internal()
H A Dplexgeometry.c3353 PetscInt ncell, side, nface; in BuildGradientReconstruction_Internal_Tree() local
3355 nface = neighbors[off + f][0]; in BuildGradientReconstruction_Internal_Tree()
3357 PetscCall(DMPlexGetSupport(dm, nface, &fcells)); in BuildGradientReconstruction_Internal_Tree()
3359 PetscCall(DMPlexPointLocalRef(dmFace, nface, fgeom, &fg)); in BuildGradientReconstruction_Internal_Tree()
/petsc/share/petsc/datafiles/meshes/
H A Dtestcase3D.cas7488 (partition/weight/nface/value 2)
7489 (partition/weight/nface/user-defined? #t)
7490 (partition/weight/nface/use? #t)
7499 (partition/auto/weight/nface/value 2)
7500 (partition/auto/weight/nface/use? #t)