| /libCEED/julia/LibCEED.jl/examples/ |
| H A D | common.jl | 39 nnodes::CeedInt = pp1^dim # number of scal. nodes per element 110 # The H1 basis uses Lobatto quadrature points as nodes. 111 nodes::Vector{CeedScalar} = lobatto_quadrature(p + 1) # nodes are in [-1,1] 112 nodes = 0.5 .+ 0.5*nodes 123 coords[gsnodes+scalar_size*(d-1)+1] = ((d1d÷p) + nodes[d1d%p+1])/nxyz[d]
|
| H A D | ex1-volume-c.jl | 95 nnodes = pp1^dim # number of scal. nodes per element 170 nodes = zeros(C.CeedScalar, p + 1) 171 # The H1 basis uses Lobatto quadrature points as nodes. 172 C.CeedLobattoQuadrature(p + 1, nodes, C_NULL) # nodes are in [-1,1] 173 nodes = 0.5 .+ 0.5*nodes 178 coords[gsnodes+scalar_size*(d-1)+1] = (div(d1d, p) + nodes[d1d%p+1])/nxyz[d] 262 println("Number of mesh nodes : ", div(mesh_size, dim)) 263 println("Number of solution nodes : ", sol_size)
|
| /libCEED/tests/output/ |
| H A D | t211-elemrestriction.out | 1 CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2] 2 CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2]
|
| H A D | t211-elemrestriction-f.out | 1 CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2] 2 CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2]
|
| H A D | t212-elemrestriction-f.out | 1 Blocked CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2] 2 Blocked CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2]
|
| H A D | t210-elemrestriction.out | 1 CeedElemRestriction from (4, 1) to 3 elements with 2 nodes each and component stride 1 2 CeedElemRestriction from (4, 1) to 3 elements with 2 nodes each and component stride 1
|
| H A D | t210-elemrestriction-f.out | 1 CeedElemRestriction from (4, 1) to 3 elements with 2 nodes each and component stride 1 2 CeedElemRestriction from (4, 1) to 3 elements with 2 nodes each and component stride 1
|
| H A D | t212-elemrestriction.out | 1 Blocked CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2] 2 Blocked CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2]
|
| /libCEED/examples/ceed/ |
| H A D | ex1-volume-f.f90 | 210 real*8, dimension (:), allocatable :: nodes, qpts local 226 allocate (nodes(p)) 228 call ceedlobattoquadrature(p, nodes, qpts, err) 231 nodes(i) = 0.5 + 0.5 * nodes(i) 239 … coords(scalar_size * (j - 1) + i) = ((d_1d/(p - 1)) + nodes(mod(d_1d, p - 1) + 1))/num_xyz(j) 243 deallocate(nodes)
|
| H A D | ex2-surface.c | 400 CeedScalar *nodes = malloc(sizeof(CeedScalar) * p); in SetCartesianMeshCoords() local 403 CeedLobattoQuadrature(p, nodes, NULL); // nodes are in [-1,1] in SetCartesianMeshCoords() 404 for (CeedInt i = 0; i < p; i++) nodes[i] = 0.5 + 0.5 * nodes[i]; in SetCartesianMeshCoords() 411 coords[gs_nodes + scalar_size * d] = ((d1d / (p - 1)) + nodes[d1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords() 415 free(nodes); in SetCartesianMeshCoords()
|
| H A D | ex3-volume.c | 367 CeedScalar *nodes = malloc(sizeof(CeedScalar) * p); in SetCartesianMeshCoords() local 370 CeedLobattoQuadrature(p, nodes, NULL); // nodes are in [-1,1] in SetCartesianMeshCoords() 371 for (CeedInt i = 0; i < p; i++) nodes[i] = 0.5 + 0.5 * nodes[i]; in SetCartesianMeshCoords() 377 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) + nodes[d_1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords() 381 free(nodes); in SetCartesianMeshCoords()
|
| H A D | ex1-volume.c | 376 CeedScalar *nodes = malloc(sizeof(CeedScalar) * p); in SetCartesianMeshCoords() local 379 CeedLobattoQuadrature(p, nodes, NULL); // nodes are in [-1,1] in SetCartesianMeshCoords() 380 for (CeedInt i = 0; i < p; i++) nodes[i] = 0.5 + 0.5 * nodes[i]; in SetCartesianMeshCoords() 387 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) + nodes[d_1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords() 391 free(nodes); in SetCartesianMeshCoords()
|
| /libCEED/examples/python/ |
| H A D | ex_common.py | 177 nodes, _ = ceed.lobatto_quadrature(p) 178 nodes = 0.5 + 0.5 * nodes # Map from [-1,1] to [0,1] 188 coords[gs_node + scalar_size * d] = (elem_id + nodes[node_id]) / num_xyz[d]
|
| H A D | tutorial-3-basis.ipynb | 79 …"The Lagrange interpolation nodes are at the Gauss-Lobatto points, so interpolation to Gauss-Lobat… 95 " P=4, # number of basis functions (nodes) per dimension\n", 130 "# Mark tho Lobatto nodes\n", 131 "nodes, _ = ceed.lobatto_quadrature(P)\n", 132 "plt.plot(nodes, 0*nodes, 'ok');" 163 … create a 3D tensor product element with more quadrature points than Lagrange interpolation nodes."
|
| H A D | tutorial-6-shell.ipynb | 22 "polynomials defined over $P$ non-uniformly spaced nodes, the\n", 189 "Number of mesh nodes : 274625\n", 190 "Number of solution nodes : 274625\n", 280 "Number of mesh nodes : 274625\n", 281 "Number of solution nodes : 274625\n",
|
| H A D | tutorial-2-elemrestriction.ipynb | 99 "# In this 1D example, there are four nodes per element\n", 176 "# In this 1D example, there are three elements (four nodes in total) \n", 340 …"Note that the nodes at the boundary between elements have multiplicty 2, while the internal nodes…
|
| /libCEED/tests/ |
| H A D | t541-operator.c | 165 CeedScalar nodes[p]; in main() local 168 CeedLobattoQuadrature(p, nodes, NULL); in main() 171 …nt j = 0; j < p; j++) u_array[i * p + j] = -(nodes[i] - 1.0) * (nodes[i] + 1.0) - (nodes[j] - 1.0)… in main()
|
| /libCEED/python/tests/output/ |
| H A D | test_211.out | 1 CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2]
|
| H A D | test_212.out | 1 Blocked CeedElemRestriction from (6, 1) to 3 elements with 2 nodes each and strides [1, 2, 2]
|
| H A D | test_210.out | 1 CeedElemRestriction from (4, 1) to 3 elements with 2 nodes each and component stride 1
|
| /libCEED/examples/rust-qfunctions/ |
| H A D | ex1-volume.c | 386 CeedScalar *nodes = malloc(sizeof(CeedScalar) * p); in SetCartesianMeshCoords() local 389 CeedLobattoQuadrature(p, nodes, NULL); // nodes are in [-1,1] in SetCartesianMeshCoords() 390 for (CeedInt i = 0; i < p; i++) nodes[i] = 0.5 + 0.5 * nodes[i]; in SetCartesianMeshCoords() 397 coords[gs_nodes + scalar_size * d] = ((d_1d / (p - 1)) + nodes[d_1d % (p - 1)]) / num_xyz[d]; in SetCartesianMeshCoords() 401 free(nodes); in SetCartesianMeshCoords()
|
| /libCEED/examples/rust/mesh/src/ |
| H A D | lib.rs | 149 let nodes = nodes_full.view()?; localVariable 155 + nodes[d_1d % (p - 1)])
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | Basis.jl | 47 - `p`: Number of Gauss-Lobatto nodes in one dimension. The polynomial degree of the 68 - `p`: Number of nodes in one dimension. 123 - `nnodes`: Total number of nodes. 181 - `nnodes`: Total number of nodes. 239 - `nnodes`: Total number of nodes. 292 Apply basis evaluation from nodes to quadrature points or vice versa, storing the result in 298 Set `tmode` to `CEED_NOTRANSPOSE` to evaluate from nodes to quadrature or to 299 `CEED_TRANSPOSE` to apply the transpose, mapping from quadrature points to nodes. 389 Return the number of nodes of the given [`Basis`](@ref). 400 Return the number of 1D nodes of the given (tensor-product) [`Basis`](@ref).
|
| H A D | ElemRestriction.jl | 56 - `elemsize`: Size (number of "nodes") per element 120 - `elemsize`: Size (number of "nodes") per element 188 - `elemsize`: Size (number of "nodes") per element 247 - `elemsize`: Size (number of "nodes") per element 251 - `strides`: Array for strides between [nodes, components, elements]. Data for node $i$, 407 Get the multiplicity of nodes in an [`ElemRestriction`](@ref). The [`CeedVector`](@ref) `v` 418 Convenience function to get the multiplicity of nodes in the [`ElemRestriction`](@ref),
|
| /libCEED/examples/ |
| H A D | notation.md | 5 …the high-order Lagrange polynomials defined over $P$ non-uniformly spaced nodes, the Gauss-Legendr…
|