Lines Matching refs:maxCell

78   const PetscReal     *maxCell, *Lstart, *L;  in DMPlexCopy_Internal()  local
91 PetscCall(DMGetPeriodicity(dmin, &maxCell, &Lstart, &L)); in DMPlexCopy_Internal()
92 PetscCall(DMSetPeriodicity(dmout, maxCell, Lstart, L)); in DMPlexCopy_Internal()
127 const PetscReal *maxCell, *Lstart, *L; in DMPlexReplace_Internal() local
170 PetscCall(DMGetPeriodicity(dmNew, &maxCell, &Lstart, &L)); in DMPlexReplace_Internal()
171 PetscCall(DMSetPeriodicity(dm, maxCell, Lstart, L)); in DMPlexReplace_Internal()
950 PetscReal L, maxCell; in DMPlexCreateLineMesh_Internal() local
996 maxCell = (PetscReal)1.1 * (L / (PetscReal)PetscMax(1, segments)); in DMPlexCreateLineMesh_Internal()
997 PetscCall(DMSetPeriodicity(dm, &maxCell, &lower, &L)); in DMPlexCreateLineMesh_Internal()
1440 PetscReal maxCell[2] = {-1., -1.}; in DMPlexCreateSquareMesh_Simplex_CrissCross() local
1445 maxCell[d] = 1.1 * (L[d] / PetscMax(1, edges[d])); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1448 PetscCall(DMSetPeriodicity(dm, maxCell, lower, L)); in DMPlexCreateSquareMesh_Simplex_CrissCross()
1927 PetscReal maxCell[3] = {-1., -1., 0.}; in DMPlexCreateBoxMesh_Tensor_Internal() local
1932 maxCell[d] = 1.1 * (L[d] / PetscMax(1, faces[d])); in DMPlexCreateBoxMesh_Tensor_Internal()
1935 PetscCall(DMSetPeriodicity(dm, maxCell, lower, L)); in DMPlexCreateBoxMesh_Tensor_Internal()
2907 PetscReal maxCell[3] = {-1., -1., 0.}; in DMPlexCreateHexCylinderMesh_Internal() local
2913 maxCell[2] = 1.1 * (L[2] / numZCells); in DMPlexCreateHexCylinderMesh_Internal()
2914 PetscCall(DMSetPeriodicity(dm, maxCell, lower, L)); in DMPlexCreateHexCylinderMesh_Internal()