Lines Matching refs:fac
934 PetscInt fac[3] = {1, 1, 1}; in DMPlexCreateBoxSurfaceMesh() local
941 …PetscCall(DMPlexCreateBoxSurfaceMesh_Internal(*dm, dim, faces ? faces : fac, lower ? lower : low, … in DMPlexCreateBoxSurfaceMesh()
1914 PetscInt fac[3] = {0, 0, 0}, d; in DMPlexCreateBoxMesh_Tensor_Internal() local
1921 fac[d] = faces[d]; in DMPlexCreateBoxMesh_Tensor_Internal()
1924 PetscCall(DMPlexCreateCubeMesh_Internal(dm, lower, upper, fac, bdt[0], bdt[1], bdt[2])); in DMPlexCreateBoxMesh_Tensor_Internal()
2028 PetscInt fac[3] = {1, 1, 1}; in DMPlexCreateBoxMesh() local
2036 …PetscCall(DMPlexCreateBoxMesh_Internal(*dm, DM_SHAPE_BOX, dim, simplex, faces ? faces : fac, lower… in DMPlexCreateBoxMesh()
2105 PetscInt fac[3] = {1, 1, 1}; in DMPlexCreateWedgeBoxMesh() local
2113 …PetscCall(DMPlexCreateWedgeBoxMesh_Internal(*dm, faces ? faces : fac, lower ? lower : low, upper ?… in DMPlexCreateWedgeBoxMesh()
3169 PetscReal norm2 = 0.0, fac; in snapToSphere() local
3173 fac = r / PetscSqrtReal(norm2); in snapToSphere()
3174 for (d = 0; d < n; ++d) f0[d] = u[d] * fac; in snapToSphere()