Home
last modified time | relevance | path

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

/libCEED/examples/petsc/
H A Ddmswarm.c60 PetscErrorCode DMSwarmCheckSwarmValues(DM dm_swarm, const char *field, PetscScalar tolerance, Targe…
70 PetscScalar tolerance = 1E-3; in main() local
121 …ance for swarm point values and projection relative L2 error", NULL, tolerance, &tolerance, NULL)); in main()
227 … PetscCall(DMSwarmCheckSwarmValues(dm_swarm, DMSwarmPICField_u, tolerance, target_function_proj)); in main()
234 … PetscCall(DMSwarmCheckSwarmValues(dm_swarm, DMSwarmPICField_u, tolerance, target_function_proj)); in main()
256 …PetscCheck(error / norm_u_mesh < tolerance, comm, PETSC_ERR_USER, "Projection error too high: %e\n… in main()
451 PetscErrorCode DMSwarmCheckSwarmValues(DM dm_swarm, const char *field, PetscScalar tolerance, Targe… in DMSwarmCheckSwarmValues() argument
478 if (PetscAbs(u_points[points[p] * num_comp + i] - u_true[i]) > tolerance) { in DMSwarmCheckSwarmValues()
H A Dbpsswarm.c54 PetscScalar tolerance; in main() local
110 tolerance = 1e-2; in main()
111 …PetscCall(PetscOptionsScalar("-tolerance", "Tolerance for L2 error", NULL, tolerance, &tolerance, … in main()
401 if (!test_mode || l2_error > tolerance) { in main()
/libCEED/examples/rust/ex1-volume/src/
H A Dmain.rs264 let tolerance = match dim { in example_1() localVariable
269 if error > tolerance { in example_1()
274 tolerance, error in example_1()
/libCEED/examples/rust/ex1-volume-vector/src/
H A Dmain.rs282 let tolerance = match dim { in example_1_vector() localVariable
287 if error > tolerance { in example_1_vector()
292 tolerance, error in example_1_vector()
/libCEED/examples/rust/ex3-volume/src/
H A Dmain.rs345 let tolerance = match dim { in example_3() localVariable
350 if error > tolerance { in example_3()
355 tolerance, error in example_3()
/libCEED/examples/rust/ex2-surface/src/
H A Dmain.rs342 let tolerance = match dim { in example_2() localVariable
347 if error > tolerance { in example_2()
352 tolerance, error in example_2()
/libCEED/examples/rust/ex3-volume-vector/src/
H A Dmain.rs368 let tolerance = match dim { in example_3_vector() localVariable
373 if error > tolerance { in example_3_vector()
378 tolerance, error in example_3_vector()
/libCEED/examples/rust/ex2-surface-vector/src/
H A Dmain.rs373 let tolerance = match dim { in example_2_vector() localVariable
378 if error > tolerance { in example_2_vector()
383 tolerance, error in example_2_vector()
/libCEED/examples/fluids/
H A DREADME.md47 - Test absolute tolerance
/libCEED/examples/nek/bps/
H A Dbps.usr1392 C tolerance check here