Searched refs:ncomp_u (Results 1 – 3 of 3) sorted by relevance
| /libCEED/examples/rust/ex3-volume-vector/src/ |
| H A D | main.rs | 65 let ncomp_u = 3; in example_3_vector() localVariable 92 ncomp_u, in example_3_vector() 124 mesh::build_cartesian_restriction(&ceed, dim, num_xyz, solution_degree, ncomp_u, num_qpts)?; in example_3_vector() 260 for c in 0..ncomp_u { in example_3_vector() 275 for c in 0..ncomp_u { in example_3_vector() 279 let du = [ug[i + (c + 0 * ncomp_u) * q], ug[i + (c + 1 * ncomp_u) * q]]; in example_3_vector() 281 vg[i + (j + j * ncomp_u) * q] = in example_3_vector() 295 for c in 0..ncomp_u { in example_3_vector() 300 ug[i + (c + 0 * ncomp_u) * q], in example_3_vector() 301 ug[i + (c + 1 * ncomp_u) * q], in example_3_vector() [all …]
|
| /libCEED/examples/rust/ex2-surface-vector/src/ |
| H A D | main.rs | 67 let ncomp_u = 3; in example_2_vector() localVariable 97 ncomp_u, in example_2_vector() 130 mesh::build_cartesian_restriction(&ceed, dim, num_xyz, solution_degree, ncomp_u, num_qpts)?; in example_2_vector() 259 for c in 0..ncomp_u { in example_2_vector() 273 for c in 0..ncomp_u { in example_2_vector() 274 let du = [ug[i + (c + 0 * ncomp_u) * q], ug[i + (c + 1 * ncomp_u) * q]]; in example_2_vector() 276 vg[i + (c + j * ncomp_u) * q] = in example_2_vector() 290 for c in 0..ncomp_u { in example_2_vector() 292 ug[i + (c + 0 * ncomp_u) * q], in example_2_vector() 293 ug[i + (c + 1 * ncomp_u) * q], in example_2_vector() [all …]
|
| /libCEED/examples/rust/ex1-volume-vector/src/ |
| H A D | main.rs | 66 let ncomp_u = 3; in example_1_vector() localVariable 96 ncomp_u, in example_1_vector() 122 mesh::build_cartesian_restriction(&ceed, dim, num_xyz, solution_degree, ncomp_u, num_qpts)?; in example_1_vector() 221 for c in 0..ncomp_u { in example_1_vector() 232 .input("u", ncomp_u, libceed::EvalMode::Interp)? in example_1_vector() 234 .output("v", ncomp_u, libceed::EvalMode::Interp)?; in example_1_vector() 259 for c in 0..ncomp_u { in example_1_vector() 260 let q = solution_size / ncomp_u; in example_1_vector() 271 / ((ncomp_u * (ncomp_u + 1)) / 2) as libceed::Scalar; in example_1_vector()
|