Lines Matching refs:i

126 …for (int i = 0; i < 3; i++) Y_inf.velocity[i] = reference->velocity[i] * units->second / units->me…  in FreestreamBCSetup()  local
138 for (int i = 0; i < 3; i++) Y_inf.velocity[i] *= units->meter / units->second; in FreestreamBCSetup() local
198 for (int i = 1; i < 4; i++) { in CheckQWithTolerance() local
199 relative_error[i] = RelativeError(u_magnitude, Q_a[i], Q_b[i], divisor_threshold); in CheckQWithTolerance()
205 for (int i = 1; i < 4; i++) { in CheckQWithTolerance() local
206 if (fabs(relative_error[i]) >= rtol_u) { in CheckQWithTolerance()
207 …rintf("%s[%d] error %g (expected %.10e, got %.10e)\n", name, i, relative_error[i], Q_s[i], Q_a[i]); in CheckQWithTolerance()
234 for (int i = 0; i < 10; i++) { in TestRiemannHLL_fwd() local
240 if (i < 5) { in TestRiemannHLL_fwd()
241 dY_left[i] = Y0_left[i]; in TestRiemannHLL_fwd()
243 dY_right[i % 5] = Y0_right[i % 5]; in TestRiemannHLL_fwd()
257 if (i < 5) { in TestRiemannHLL_fwd()
258 Y1_left[i] *= 1 + eps; in TestRiemannHLL_fwd()
260 Y1_right[i % 5] *= 1 + eps; in TestRiemannHLL_fwd()
272 snprintf(buf, sizeof buf, "RiemannFlux_HLL i=%d: Flux", i); in TestRiemannHLL_fwd()
296 for (int i = 0; i < 10; i++) { in TestRiemannHLLC_fwd() local
302 if (i < 5) { in TestRiemannHLLC_fwd()
303 dY_left[i] = Y0_left[i]; in TestRiemannHLLC_fwd()
305 dY_right[i % 5] = Y0_right[i % 5]; in TestRiemannHLLC_fwd()
319 if (i < 5) { in TestRiemannHLLC_fwd()
320 Y1_left[i] *= 1 + eps; in TestRiemannHLLC_fwd()
322 Y1_right[i % 5] *= 1 + eps; in TestRiemannHLLC_fwd()
334 snprintf(buf, sizeof buf, "RiemannFlux_HLLC i=%d: Flux", i); in TestRiemannHLLC_fwd()
360 for (int i = 0; i < 10; i++) { in TestComputeHLLSpeeds_Roe_fwd() local
366 if (i < 5) { in TestComputeHLLSpeeds_Roe_fwd()
367 dY_left[i] = Y0_left[i]; in TestComputeHLLSpeeds_Roe_fwd()
369 dY_right[i % 5] = Y0_right[i % 5]; in TestComputeHLLSpeeds_Roe_fwd()
384 if (i < 5) { in TestComputeHLLSpeeds_Roe_fwd()
385 Y1_left[i] *= 1 + eps; in TestComputeHLLSpeeds_Roe_fwd()
387 Y1_right[i % 5] *= 1 + eps; in TestComputeHLLSpeeds_Roe_fwd()
401 snprintf(buf, sizeof buf, "ComputeHLLSpeeds_Roe i=%d:", i); in TestComputeHLLSpeeds_Roe_fwd()
429 for (int i = 0; i < 5; i++) { in TestTotalSpecificEnthalpy_fwd() local
434 dY[i] = Y0[i]; in TestTotalSpecificEnthalpy_fwd()
442 Y1[i] *= 1 + eps; in TestTotalSpecificEnthalpy_fwd()
450 snprintf(buf, sizeof buf, "TotalSpecificEnthalpy i=%d:", i); in TestTotalSpecificEnthalpy_fwd()
469 for (int i = 0; i < 2; i++) { in TestRowSetup_fwd() local
474 drho[i] = rho0[i]; in TestRowSetup_fwd()
481 rho1[i] *= 1 + eps; in TestRowSetup_fwd()
489 snprintf(buf, sizeof buf, "RoeSetup i=%d:", i); in TestRowSetup_fwd()