Lines Matching refs:eps
66 static double right(const double eps, const double x) { return (x <= 0.5) ? (2 - eps) * x : 1 + eps… in right() argument
69 static double left(const double eps, const double x) { return 1 - right(eps, 1 - x); } in left() argument
74 PetscErrorCode Kershaw(DM dm_orig, PetscScalar eps) { in Kershaw() argument
92 c[i + 1] = left(eps, y); in Kershaw()
93 c[i + 2] = left(eps, z); in Kershaw()
97 c[i + 1] = step(left(eps, y), right(eps, y), lambda); in Kershaw()
98 c[i + 2] = step(left(eps, z), right(eps, z), lambda); in Kershaw()
101 c[i + 1] = step(right(eps, y), left(eps, y), lambda / 2); in Kershaw()
102 c[i + 2] = step(right(eps, z), left(eps, z), lambda / 2); in Kershaw()
105 c[i + 1] = step(right(eps, y), left(eps, y), (1 + lambda) / 2); in Kershaw()
106 c[i + 2] = step(right(eps, z), left(eps, z), (1 + lambda) / 2); in Kershaw()
109 c[i + 1] = right(eps, y); in Kershaw()
110 c[i + 2] = right(eps, z); in Kershaw()