Searched refs:PI (Results 1 – 7 of 7) sorted by relevance
| /libCEED/examples/rust/ex3-volume/src/ |
| H A D | transform.rs | 23 * ((2.0 / 3.0) * std::f64::consts::PI as libceed::Scalar * (*coord - 0.5)) in transform_mesh_coordinates() 34 let v = coords[i + num_nodes] * std::f64::consts::PI / 2.; in transform_mesh_coordinates() 44 2 | 3 => 3. / 4. * std::f64::consts::PI, in transform_mesh_coordinates()
|
| /libCEED/examples/rust/ex3-volume-vector/src/ |
| H A D | transform.rs | 23 * ((2.0 / 3.0) * std::f64::consts::PI as libceed::Scalar * (*coord - 0.5)) in transform_mesh_coordinates() 34 let v = coords[i + num_nodes] * std::f64::consts::PI / 2.; in transform_mesh_coordinates() 44 2 | 3 => 3. / 4. * std::f64::consts::PI, in transform_mesh_coordinates()
|
| /libCEED/examples/rust/ex1-volume/src/ |
| H A D | transform.rs | 22 * ((2.0 / 3.0) * std::f64::consts::PI as libceed::Scalar * (*coord - 0.5)).sin() in transform_mesh_coordinates() 31 let v = std::f64::consts::PI as libceed::Scalar / 2.0 * coords[i + num_nodes]; in transform_mesh_coordinates() 40 2 | 3 => 3.0 / 4.0 * std::f64::consts::PI as libceed::Scalar, in transform_mesh_coordinates()
|
| /libCEED/examples/rust/ex1-volume-vector/src/ |
| H A D | transform.rs | 22 * ((2.0 / 3.0) * std::f64::consts::PI as libceed::Scalar * (*coord - 0.5)).sin() in transform_mesh_coordinates() 31 let v = std::f64::consts::PI as libceed::Scalar / 2.0 * coords[i + num_nodes]; in transform_mesh_coordinates() 40 2 | 3 => 3.0 / 4.0 * std::f64::consts::PI as libceed::Scalar, in transform_mesh_coordinates()
|
| /libCEED/examples/rust/ex2-surface/src/ |
| H A D | transform.rs | 20 * ((2.0 / 3.0) * std::f64::consts::PI as libceed::Scalar * (*coord - 0.5)).sin() in transform_mesh_coordinates()
|
| /libCEED/examples/rust/ex2-surface-vector/src/ |
| H A D | transform.rs | 20 * ((2.0 / 3.0) * std::f64::consts::PI as libceed::Scalar * (*coord - 0.5)).sin() in transform_mesh_coordinates()
|
| /libCEED/interface/ |
| H A D | ceed-basis.c | 2504 CeedScalar P0, P1, P2, dP2, xi, wi, PI = 4.0 * atan(1.0); in CeedGaussQuadrature() local 2509 xi = cos(PI * (CeedScalar)(2 * i + 1) / ((CeedScalar)(2 * Q))); in CeedGaussQuadrature() 2556 CeedScalar P0, P1, P2, dP2, d2P2, xi, wi, PI = 4.0 * atan(1.0); in CeedLobattoQuadrature() local 2571 xi = cos(PI * (CeedScalar)(i) / (CeedScalar)(Q - 1)); in CeedLobattoQuadrature()
|