Home
last modified time | relevance | path

Searched refs:d_1d (Results 1 – 6 of 6) sorted by relevance

/libCEED/examples/rust/mesh/src/
H A Dlib.rs153 let d_1d = r_nodes % num_d[d]; localVariable
154 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) as libceed::Scalar
155 + nodes[d_1d % (p - 1)])
/libCEED/examples/python/
H A Dex_common.py185 d_1d = r_node % nd[d]
186 elem_id = d_1d // (p - 1)
187 node_id = d_1d % (p - 1)
/libCEED/examples/ceed/
H A Dex1-volume-f.f90208 integer d_1d local
238 d_1d = mod(r_nodes, nd(j))
239 … coords(scalar_size * (j - 1) + i) = ((d_1d/(p - 1)) + nodes(mod(d_1d, p - 1) + 1))/num_xyz(j)
H A Dex3-volume.c376 CeedInt d_1d = r_nodes % nd[d]; in SetCartesianMeshCoords() local
377 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) + nodes[d_1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords()
H A Dex1-volume.c385 CeedInt d_1d = r_nodes % nd[d]; in SetCartesianMeshCoords() local
387 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) + nodes[d_1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords()
/libCEED/examples/rust-qfunctions/
H A Dex1-volume.c395 CeedInt d_1d = r_nodes % nd[d]; in SetCartesianMeshCoords() local
397 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) + nodes[d_1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords()