Searched full:rtol (Results 1 – 4 of 4) sorted by relevance
| /libCEED/examples/fluids/problems/ |
| H A D | newtonian.c | 132 CeedScalar rtol = 40 * CEED_EPSILON; in UnitTests_Newtonian() local 134 PetscCall(TestState(STATEVAR_PRIMITIVE, STATEVAR_CONSERVATIVE, gas, Y0, rtol, rtol, rtol)); in UnitTests_Newtonian() 135 PetscCall(TestState(STATEVAR_PRIMITIVE, STATEVAR_ENTROPY, gas, Y0, rtol, rtol, rtol)); in UnitTests_Newtonian() 136 PetscCall(TestState(STATEVAR_CONSERVATIVE, STATEVAR_PRIMITIVE, gas, U0, rtol, rtol, rtol)); in UnitTests_Newtonian() 137 PetscCall(TestState(STATEVAR_CONSERVATIVE, STATEVAR_ENTROPY, gas, U0, rtol, rtol, rtol)); in UnitTests_Newtonian() 138 PetscCall(TestState(STATEVAR_ENTROPY, STATEVAR_CONSERVATIVE, gas, V0, rtol, rtol, rtol)); in UnitTests_Newtonian() 139 PetscCall(TestState(STATEVAR_ENTROPY, STATEVAR_PRIMITIVE, gas, V0, rtol, rtol, rtol)); in UnitTests_Newtonian() 143 CeedScalar rtol = 5e-6; in UnitTests_Newtonian() local 145 PetscCall(TestState_fwd(STATEVAR_PRIMITIVE, STATEVAR_CONSERVATIVE, gas, Y0, rtol, rtol, rtol)); in UnitTests_Newtonian() 146 PetscCall(TestState_fwd(STATEVAR_PRIMITIVE, STATEVAR_ENTROPY, gas, Y0, rtol, rtol, rtol)); in UnitTests_Newtonian() [all …]
|
| H A D | bc_freestream.c | 21 static PetscErrorCode RiemannSolverUnitTests(NewtonianIdealGasContext gas, CeedScalar rtol); 382 static PetscErrorCode TestComputeHLLSpeeds_Roe_fwd(NewtonianIdealGasContext gas, CeedScalar rtol) { in TestComputeHLLSpeeds_Roe_fwd() argument 449 …if (fabs(ds_left_err) >= rtol) printf("%s ds_left error %g (expected %.10e, got %.10e)\n", buf, ds… in TestComputeHLLSpeeds_Roe_fwd() 450 …if (fabs(ds_right_err) >= rtol) printf("%s ds_right error %g (expected %.10e, got %.10e)\n", buf, … in TestComputeHLLSpeeds_Roe_fwd() 457 static PetscErrorCode TestTotalSpecificEnthalpy_fwd(NewtonianIdealGasContext gas, CeedScalar rtol) { in TestTotalSpecificEnthalpy_fwd() argument 497 …if (fabs(dH_err) >= rtol) printf("%s dH error %g (expected %.10e, got %.10e)\n", buf, dH_err, dH_f… in TestTotalSpecificEnthalpy_fwd() 504 static PetscErrorCode TestRowSetup_fwd(NewtonianIdealGasContext gas, CeedScalar rtol) { in TestRowSetup_fwd() argument 537 …if (fabs(dR_err.left) >= rtol) printf("%s dR.left error %g (expected %.10e, got %.10e)\n", buf, dR… in TestRowSetup_fwd() 538 …if (fabs(dR_err.right) >= rtol) printf("%s dR.right error %g (expected %.10e, got %.10e)\n", buf, … in TestRowSetup_fwd() 545 static PetscErrorCode RiemannSolverUnitTests(NewtonianIdealGasContext gas, CeedScalar rtol) { in RiemannSolverUnitTests() argument [all …]
|
| /libCEED/examples/fluids/ |
| H A D | advection.yaml | 17 rtol: 1e-3
|
| /libCEED/examples/fluids/src/ |
| H A D | setupts.c | 387 PetscReal rtol; in TSSolve_NS() local 391 PetscCall(SNESGetTolerances(snes, NULL, &rtol, NULL, NULL, NULL)); in TSSolve_NS() 395 …PetscCall(SNESSetTolerances(snes, PETSC_DEFAULT, rtol, PETSC_DEFAULT, PETSC_DEFAULT, PETSC_DEFAULT… in TSSolve_NS()
|