Home
last modified time | relevance | path

Searched refs:boundary_threshold (Results 1 – 1 of 1) sorted by relevance

/libCEED/examples/fluids/qfunctions/
H A Dadvection.h145 const CeedScalar boundary_threshold = 20 * CEED_EPSILON; in Exact_AdvectionGeneric() local
148 q[4] = cross_product[2] > boundary_threshold ? 0 : 1; in Exact_AdvectionGeneric()
149 …if ((x < boundary_threshold && wind[0] < boundary_threshold) || // outflow at -x bo… in Exact_AdvectionGeneric()
150 …(y < boundary_threshold && wind[1] < boundary_threshold) || // outflow at -y bounda… in Exact_AdvectionGeneric()
151 …(x > context->lx - boundary_threshold && wind[0] > boundary_threshold) || // outflow at +x bounda… in Exact_AdvectionGeneric()
152 …(y > context->ly - boundary_threshold && wind[1] > boundary_threshold) // outflow at +y bounda… in Exact_AdvectionGeneric()