Lines Matching refs:x
76 const CeedScalar x = X[0], y = X[1], z = dim == 2 ? 0. : X[2]; in Exact_AdvectionGeneric() local
82 q[2] = (x - center[0]); in Exact_AdvectionGeneric()
102 CeedScalar r = sqrt(Square(x - x0[0]) + Square(y - x0[1]) + Square(z - x0[2])); 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()
137 …if ((x < boundary_threshold && wind[0] < boundary_threshold) || // outflow at -x bo… in Exact_AdvectionGeneric()
139 …(x > context->lx - boundary_threshold && wind[0] > boundary_threshold) || // outflow at +x bounda… in Exact_AdvectionGeneric()
161 if ((x < boundary_threshold) || (y > ly - boundary_threshold)) { in Exact_AdvectionGeneric()
183 const CeedScalar x[] = {X[0][i], X[1][i], X[2][i]}; in ICsAdvection() local
186 Exact_AdvectionGeneric(3, 0., x, 5, q, ctx); in ICsAdvection()
201 const CeedScalar x[] = {X[0][i], X[1][i]}; in ICsAdvection2d() local
204 Exact_AdvectionGeneric(2, context->time, x, 5, q, ctx); in ICsAdvection2d()