Lines Matching refs:eextent
14 Ijk eextent; member
94 static PetscErrorCode ZLayoutCreate(PetscMPIInt size, const PetscInt eextent[3], const PetscInt vex… in ZLayoutCreate()
97 layout->eextent.i = eextent[0]; in ZLayoutCreate()
98 layout->eextent.j = eextent[1]; in ZLayoutCreate()
99 layout->eextent.k = eextent[2]; in ZLayoutCreate()
107 PetscInt total_elems = eextent[0] * eextent[1] * eextent[2]; in ZLayoutCreate()
117 if (IjkActive(layout->eextent, trial)) { in ZLayoutCreate()
172 if (IjkActive(layout->eextent, loc)) break; in ZLayoutCreate()
186 if (IjkActive(layout->eextent, loc)) remote_elem++; in ZLayoutElementsOnRank()
1160 PetscInt eextent[3] = {1, 1, 1}, vextent[3] = {1, 1, 1}; in DMPlexCreateBoxMesh_Tensor_SFC_Internal() local
1203 eextent[i] = faces[i]; in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1207 PetscCall(ZLayoutCreate(size, eextent, vextent, &layout)); in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1218 if (IjkActive(layout.eextent, loc)) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1245 if (!IjkActive(layout.eextent, loc)) { in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1332 coords[v * dim + 0] = lower[0] + loc.i * (upper[0] - lower[0]) / layout.eextent.i; in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1333 … if (dim > 1) coords[v * dim + 1] = lower[1] + loc.j * (upper[1] - lower[1]) / layout.eextent.j; in DMPlexCreateBoxMesh_Tensor_SFC_Internal()
1334 … if (dim > 2) coords[v * dim + 2] = lower[2] + loc.k * (upper[2] - lower[2]) / layout.eextent.k; in DMPlexCreateBoxMesh_Tensor_SFC_Internal()