| /libCEED/tests/ |
| H A D | t365-basis.c | 16 CeedScalar tol; in GetTolerance() local 18 if (dim == 3) tol = 0.005; in GetTolerance() 19 else tol = 1.e-4; in GetTolerance() 21 tol = 1.e-11; in GetTolerance() 23 return tol; in GetTolerance() 106 CeedScalar tol = GetTolerance(scalar_type, dim); in main() local 108 …if (fabs(sum_1 - 2.0 * sum_2) > tol) printf("[%" CeedInt_FMT "] %f != %f\n", dim, sum_1, 2.0 * sum… in main()
|
| H A D | t361-basis.c | 16 CeedScalar tol; in GetTolerance() local 18 if (dim == 3) tol = 0.05; in GetTolerance() 19 else tol = 1.e-3; in GetTolerance() 21 tol = 1.e-10; in GetTolerance() 23 return 2.0 * tol; in GetTolerance() 100 CeedScalar tol = GetTolerance(scalar_type, dim); in main() local 102 … if (fabs(sum_1 - sum_2) > tol) printf("[%" CeedInt_FMT "] %0.12f != %0.12f\n", dim, sum_1, sum_2); in main()
|
| H A D | t315-basis.c | 16 CeedScalar tol; in GetTolerance() local 18 if (dim == 3) tol = 5.e-3; in GetTolerance() 19 else tol = 1.e-4; in GetTolerance() 21 tol = 1.e-11; in GetTolerance() 23 return tol; in GetTolerance() 98 CeedScalar tol = GetTolerance(scalar_type, dim); in main() local 100 if (fabs(sum_1 - sum_2) > tol) printf("[%" CeedInt_FMT "] %f != %f\n", dim, sum_1, sum_2); in main()
|
| H A D | t314-basis.c | 16 CeedScalar tol; in GetTolerance() local 18 if (dim == 3) tol = 0.05; in GetTolerance() 19 else tol = 1.e-3; in GetTolerance() 21 tol = 1.e-10; in GetTolerance() 23 return tol; in GetTolerance() 98 CeedScalar tol = GetTolerance(scalar_type, dim); in main() local 100 … if (fabs(sum_1 - sum_2) > tol) printf("[%" CeedInt_FMT "] %0.12f != %0.12f\n", dim, sum_1, sum_2); in main()
|
| H A D | t357-basis.c | 16 CeedScalar tol; in GetTolerance() local 18 if (dim == 3) tol = 0.005; in GetTolerance() 19 else tol = 1.e-4; in GetTolerance() 21 tol = 1.e-11; in GetTolerance() 23 return tol; in GetTolerance() 104 CeedScalar tol = GetTolerance(scalar_type, dim); in main() local 106 if (fabs(sum_1 - sum_2) > tol) printf("[%" CeedInt_FMT "] %f != %f\n", dim, sum_1, sum_2); in main()
|
| H A D | t316-basis.c | 16 CeedScalar tol; in GetTolerance() local 18 if (dim == 3) tol = 0.005; in GetTolerance() 19 else tol = 1.e-4; in GetTolerance() 21 tol = 1.e-11; in GetTolerance() 23 return tol; in GetTolerance() 98 CeedScalar tol = GetTolerance(scalar_type, dim); in main() local 100 if (fabs(sum_1 - sum_2) > tol) printf("[%" CeedInt_FMT "] %f != %f\n", dim, sum_1, sum_2); in main()
|
| H A D | t319-basis.c | 28 CeedScalar tol; in GetTolerance() local 30 if (dim == 3) tol = 1.e-4; in GetTolerance() 31 else tol = 1.e-5; in GetTolerance() 33 tol = 1.e-11; in GetTolerance() 35 return tol; in GetTolerance() 40 CeedScalar tol; in VerifyProjectedBasis() local 46 tol = GetTolerance(scalar_type, dim); in VerifyProjectedBasis() 77 …if (fabs(u - u_array[i]) > tol) printf("[%" CeedInt_FMT ", %" CeedInt_FMT "] %f != %f\n", dim, i, … in VerifyProjectedBasis() 99 if (fabs(du - du_array[p_to_dim * d + i]) > tol) { in VerifyProjectedBasis() 224 CeedScalar tol = 100 * CEED_EPSILON; in main() local [all …]
|
| /libCEED/examples/python/ |
| H A D | ex3_volume.py | 169 tol = 200 * libceed.EPSILON if dim == 1 else 1e-5 170 if abs(volume - exact_volume) > tol:
|
| H A D | ex1_volume.py | 172 tol = 200 * libceed.EPSILON if dim == 1 else 1e-5 173 if abs(volume - exact_volume) > tol:
|
| H A D | ex2_surface.py | 177 tol = 10000 * libceed.EPSILON if dim == 1 else 1e-1 178 if abs(surface_area - exact_surface_area) > tol:
|
| /libCEED/examples/petsc/ |
| H A D | area.c | 203 PetscReal tol = 5e-6; in main() local 204 if (!test_mode || error > tol) { in main()
|
| H A D | bpssphere.c | 282 PetscReal tol = 5e-4; in main() local 283 if (!test_mode || l2_error > tol) { in main()
|
| H A D | bps.c | 273 … PetscReal tol = rp->bp_choice < CEED_BP3 ? 5e-4 : (5e-2 + (rp->bp_choice % 2 == 1 ? 5e-3 : 0)); in RunWithDM() local 274 if (!rp->test_mode || l2_error > tol) { in RunWithDM()
|
| H A D | multigrid.c | 510 PetscReal tol = 5e-2; in main() local 511 if (!test_mode || l2_error > tol) { in main()
|
| H A D | bpsraw.c | 758 PetscReal tol = 5e-2; in main() local 759 if (!test_mode || max_error > tol) { in main()
|
| /libCEED/examples/nek/bps/ |
| H A D | bps.usr | 767 tol = 1e-10 768 param(22) = tol 881 call cggos(u1,r1,h1,h2,vmult,binvm1,tol,ceed,op_mass, 916 call cggos(u1,r2,h1,h2,vmult,binvm1,tol,ceed,op_mass, 951 call cggos(u1,r3,h1,h2,vmult,binvm1,tol,ceed,op_mass, 1084 tol = 1e-10 1085 param(22) = tol 1203 call cggos(u1,r1,h1,h2,vmult,binvm1,tol,ceed,op_diffusion, 1238 call cggos(u1,r2,h1,h2,vmult,binvm1,tol,ceed,op_diffusion, 1273 call cggos(u1,r3,h1,h2,vmult,binvm1,tol,ceed,op_diffusion, [all …]
|
| /libCEED/examples/ceed/ |
| H A D | ex2-surface.c | 290 CeedScalar tol = (dim == 1 ? 10000. * CEED_EPSILON : dim == 2 ? 1E-1 : 1E-1); in main() local 292 …if (fabs(surface_area - exact_surface_area) > tol) printf("Surface area error : % .14g\n",… in main()
|
| H A D | ex3-volume.c | 259 CeedScalar tol = (dim == 1 ? 200. * CEED_EPSILON : dim == 2 ? 1E-5 : 1E-5); in main() local 261 if (fabs(volume - exact_volume) > tol) printf("Volume error : % .1e\n", volume - exact_volume); in main()
|
| H A D | ex1-volume.c | 270 CeedScalar tol = (dim == 1 ? 200. * CEED_EPSILON : dim == 2 ? 1E-5 : 1E-5); in main() local 272 if (fabs(volume - exact_volume) > tol) printf("Volume error : % .1e\n", volume - exact_volume); in main()
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | ex1-volume.c | 280 CeedScalar tol = (dim == 1 ? 200. * CEED_EPSILON : dim == 2 ? 1E-5 : 1E-5); in main() local 282 if (fabs(volume - exact_volume) > tol) printf("Volume error : % .1e\n", volume - exact_volume); in main()
|
| /libCEED/interface/ |
| H A D | ceed-basis.c | 1362 CeedScalar tol = CEED_EPSILON; in CeedSymmetricSchurDecomposition() local 1369 if (fabs(mat_T[i + n * (i + 1)]) < tol) q += 1; in CeedSymmetricSchurDecomposition() 1373 if (fabs(mat_T[i + n * (i + 1)]) < tol) p += 1; in CeedSymmetricSchurDecomposition() 1389 if (fabs(z) > tol) { in CeedSymmetricSchurDecomposition()
|