Lines Matching refs:y
76 const CeedScalar x = X[0], y = X[1], z = dim == 2 ? 0. : X[2]; in Exact_AdvectionGeneric() local
81 q[1] = -(y - center[1]); in Exact_AdvectionGeneric()
93 q[1] = y / ly; in Exact_AdvectionGeneric()
102 CeedScalar r = sqrt(Square(x - x0[0]) + Square(y - x0[1]) + Square(z - x0[2])); in Exact_AdvectionGeneric()
110 q[4] = ((r <= rc) && (y < center[1])) ? (1. - r / rc) : 0.; in Exact_AdvectionGeneric()
114 … q[4] = ((r <= rc) && (y < center[1])) ? (1. - r / rc) * fmin(1.0, (center[1] - y) / 1.25) : 0.; in Exact_AdvectionGeneric()
124 CeedScalar r = sqrt(Square(x - center[0]) + Square(y - center[1])); in Exact_AdvectionGeneric()
131 CeedScalar inflow_to_point[3] = {x - context->lx / 2, y, 0}; in Exact_AdvectionGeneric()
138 …(y < boundary_threshold && wind[1] < boundary_threshold) || // outflow at -y bounda… in Exact_AdvectionGeneric()
140 …(y > context->ly - boundary_threshold && wind[1] > boundary_threshold) // outflow at +y bounda… in Exact_AdvectionGeneric()
161 if ((x < boundary_threshold) || (y > ly - boundary_threshold)) { in Exact_AdvectionGeneric()
163 } else if (y < boundary_threshold) { in Exact_AdvectionGeneric()
167 if (y > bl_height) q[4] = 1; in Exact_AdvectionGeneric()
168 else q[4] = y / bl_height; in Exact_AdvectionGeneric()