Searched refs:divisor_threshold (Results 1 – 2 of 2) sorted by relevance
| /honee/problems/ |
| H A D | bc_freestream.c | 191 CeedScalar divisor_threshold = 10 * CEED_EPSILON; in CheckQWithTolerance() local 194 relative_error[0] = RelativeError(Q_s[0], Q_a[0], Q_b[0], divisor_threshold); in CheckQWithTolerance() 195 relative_error[4] = RelativeError(Q_s[4], Q_a[4], Q_b[4], divisor_threshold); in CheckQWithTolerance() 199 relative_error[i] = RelativeError(u_magnitude, Q_a[i], Q_b[i], divisor_threshold); in CheckQWithTolerance() 403 CeedScalar divisor_threshold = 10 * CEED_EPSILON; in TestComputeHLLSpeeds_Roe_fwd() local 406 ds_left_err = RelativeError(ds_left_fd, ds_left, ds_left_fd, divisor_threshold); in TestComputeHLLSpeeds_Roe_fwd() 407 ds_right_err = RelativeError(ds_right_fd, ds_right, ds_right_fd, divisor_threshold); in TestComputeHLLSpeeds_Roe_fwd() 452 CeedScalar divisor_threshold = 10 * CEED_EPSILON; in TestTotalSpecificEnthalpy_fwd() local 455 dH_err = RelativeError(dH_fd, dH, dH_fd, divisor_threshold); in TestTotalSpecificEnthalpy_fwd() 491 CeedScalar divisor_threshold = 10 * CEED_EPSILON; in TestRowSetup_fwd() local [all …]
|
| H A D | newtonian.c | 647 CeedScalar divisor_threshold = 10 * CEED_EPSILON; in CheckQWithTolerance() local 650 relative_error[0] = (Q_a[0] - Q_b[0]) / (fabs(Q_s[0]) > divisor_threshold ? Q_s[0] : 1); in CheckQWithTolerance() 651 relative_error[4] = (Q_a[4] - Q_b[4]) / (fabs(Q_s[4]) > divisor_threshold ? Q_s[4] : 1); in CheckQWithTolerance() 654 CeedScalar u_divisor = u_magnitude > divisor_threshold ? u_magnitude : 1; in CheckQWithTolerance()
|