Home
last modified time | relevance | path

Searched refs:d1d (Results 1 – 4 of 4) sorted by relevance

/libCEED/julia/LibCEED.jl/test/
H A Druntests.jl162 d1d = CeedScalar[-0.5 0.5; -0.5 0.5; -0.5 0.5]
167 d2d[1, :, :] = kron(b1d, d1d)
168 d2d[2, :, :] = kron(d1d, b1d)
171 b2 = create_tensor_h1_basis(c, dim2, 1, p, q, b1d, d1d, q1d, w1d)
175 @test getgrad1d(b2) == d1d
184 reshape(d1d, 1, q, p),
195 @test vd ≈ d1d*v
391 d1d = CeedScalar[-0.5 0.5; -0.5 0.5; -0.5 0.5]
396 d2d[1, :, :] = kron(b1d, d1d)
397 d2d[2, :, :] = kron(d1d, b1d)
[all …]
/libCEED/julia/LibCEED.jl/examples/
H A Dcommon.jl122 d1d = r
123 coords[gsnodes+scalar_size*(d-1)+1] = ((d1d÷p) + nodes[d1d%p+1])/nxyz[d]
H A Dex1-volume-c.jl177 d1d = rnodes%nd[d]
178 coords[gsnodes+scalar_size*(d-1)+1] = (div(d1d, p) + nodes[d1d%p+1])/nxyz[d]
/libCEED/examples/ceed/
H A Dex2-surface.c409 CeedInt d1d = r_nodes % nd[d]; in SetCartesianMeshCoords() local
411 coords[gs_nodes + scalar_size * d] = ((d1d / (p - 1)) + nodes[d1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords()