Lines Matching refs:dis
2554 const PetscReal dis = 1.0 / PetscSqrtReal(2.0); in snapToCylinder() local
2555 const PetscReal ds2 = 0.5 * dis; in snapToCylinder()
2570 df = PetscAbsReal(dis / sinp); in snapToCylinder()
2575 df = PetscAbsReal(dis / cosp); in snapToCylinder()
2804 const PetscReal dis = 1.0 / PetscSqrtReal(2.0); in DMPlexCreateHexCylinderMesh_Internal() local
2805 const PetscReal ds2 = dis / 2.0; in DMPlexCreateHexCylinderMesh_Internal()
2849 coords[8 * dim + 0] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2850 coords[8 * dim + 1] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2852 coords[9 * dim + 0] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2853 coords[9 * dim + 1] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2855 coords[10 * dim + 0] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2856 coords[10 * dim + 1] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2858 coords[11 * dim + 0] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2859 coords[11 * dim + 1] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2861 coords[12 * dim + 0] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2862 coords[12 * dim + 1] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2864 coords[13 * dim + 0] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2865 coords[13 * dim + 1] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2867 coords[14 * dim + 0] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2868 coords[14 * dim + 1] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2870 coords[15 * dim + 0] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2871 coords[15 * dim + 1] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2886 /* 29 35 30 */ coords[20 * dim + 0] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2887 coords[20 * dim + 1] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2889 /* 23 36 25 */ coords[21 * dim + 0] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2890 coords[21 * dim + 1] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2892 /* 24 37 26 */ coords[22 * dim + 0] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2893 coords[22 * dim + 1] = dis; in DMPlexCreateHexCylinderMesh_Internal()
2895 /* 27 38 28 */ coords[23 * dim + 0] = -dis; in DMPlexCreateHexCylinderMesh_Internal()
2896 coords[23 * dim + 1] = dis; in DMPlexCreateHexCylinderMesh_Internal()