| /libCEED/tests/output/ |
| H A D | t330-basis.out | 1 CeedBasis in a H(div) space on a quadrilateral element 27 div: 37 CeedBasis in a H(div) space on a quadrilateral element 63 div:
|
| /libCEED/julia/LibCEED.jl/test/ |
| H A D | buildmats.jl | 4 div = Array{T}(undef, Q, P) 33 div[i, 1] = -1.0 34 div[i, 2] = 1.0 35 div[i, 3] = -1.0 36 div[i, 4] = 1.0 39 return interp, div
|
| /libCEED/tests/ |
| H A D | t332-basis.c | 16 CeedScalar interp[dim * p * num_qpts], div[p * num_qpts]; in main() local 20 BuildHdivQuadrilateral(q, q_ref, q_weights, interp, div, CEED_GAUSS); in main() 21 …CeedBasisCreateHdiv(ceed, CEED_TOPOLOGY_QUAD, 1, p, num_qpts, interp, div, q_ref, q_weights, &basi… in main() 29 …if (fabs(div[i] - div_in_basis[i]) > 100. * CEED_EPSILON) printf("%f != %f\n", div[i], div_in_basi… in main()
|
| H A D | t330-basis.c | 14 CeedScalar interp[dim * p * num_qpts], div[p * num_qpts]; in main() local 21 BuildHdivQuadrilateral(q, q_ref, q_weights, interp, div, CEED_GAUSS); in main() 22 …CeedBasisCreateHdiv(ceed, CEED_TOPOLOGY_QUAD, 1, p, num_qpts, interp, div, q_ref, q_weights, &basi… in main()
|
| H A D | t331-basis.c | 16 CeedScalar interp[dim * p * num_qpts], div[p * num_qpts]; in main() local 20 BuildHdivQuadrilateral(q, q_ref, q_weights, interp, div, CEED_GAUSS); in main() 21 …CeedBasisCreateHdiv(ceed, CEED_TOPOLOGY_QUAD, 1, p, num_qpts, interp, div, q_ref, q_weights, &basi… in main()
|
| H A D | README.md | 16 3. CeedBasis non-tensor H(div) basis tests\ 32 8. CeedOperator H(div) and H(curl) tests\
|
| H A D | t330-basis.h | 44 … CeedScalar *q_ref, CeedScalar *q_weights, CeedScalar *interp, CeedScalar *div, CeedQuadMode quad_… in BuildHdivQuadrilateral() argument 76 div[k1 * 8 + k] = D[k]; in BuildHdivQuadrilateral()
|
| H A D | t580-operator.c | 29 CeedScalar interp[dim * p * num_qpts], div[p * num_qpts]; in main() local 77 BuildHdivQuadrilateral(q, q_ref, q_weight, interp, div, CEED_GAUSS); in main() 78 …CeedBasisCreateHdiv(ceed, CEED_TOPOLOGY_QUAD, 1, p, num_qpts, interp, div, q_ref, q_weight, &basis… in main()
|
| /libCEED/python/tests/ |
| H A D | buildmats.py | 55 div = np.empty(P * Q, dtype=mat_dtype) 84 div[i * P + 0] = -1. 85 div[i * P + 1] = 1. 86 div[i * P + 2] = -1. 87 div[i * P + 3] = 1. 89 return interp, div
|
| /libCEED/julia/LibCEED.jl/examples/ |
| H A D | common.jl | 5 num_elem = div(prob_size, order^dim) 8 num_elem = div(num_elem, 2) 13 sd = div(s, dim)
|
| H A D | ex1-volume-c.jl | 66 num_elem = div(prob_size, order^dim) 69 num_elem = div(num_elem, 2) 74 sd = div(s, dim) 115 re = div(re, nxyz[d]) 124 rnodes = div(rnodes, pp1) 178 coords[gsnodes+scalar_size*(d-1)+1] = (div(d1d, p) + nodes[d1d%p+1])/nxyz[d] 179 rnodes = div(rnodes, nd[d]) 197 num_nodes = div(mesh_size, dim) 262 println("Number of mesh nodes : ", div(mesh_size, dim))
|
| H A D | ex3-volume.jl | 49 num_q_comp = 1 + div(dim*(dim + 1), 2) 68 println("Number of mesh nodes : ", div(mesh_size, dim)) 146 mat_idx = idx + div((j - 1)*j, 2) + (i - 1) 148 mat_idx = idx + div((i - 1)*i, 2) + (j - 1)
|
| H A D | ex2-surface.jl | 47 div(dim*(dim + 1), 2), 60 println("Number of mesh nodes : ", div(mesh_size, dim)) 103 qdata = CeedVector(ceed, num_elem*elem_qpts*div(dim*(dim + 1), 2))
|
| /libCEED/include/ceed/jit-source/cuda/ |
| H A D | cuda-ref-operator-assemble-diagonal.h | 22 … const CeedScalar *interp, const CeedScalar *grad, const CeedScalar *div, const CeedScalar *curl) { in GetBasisPointer() argument 34 *basis_ptr = div; in GetBasisPointer()
|
| /libCEED/include/ceed/jit-source/hip/ |
| H A D | hip-ref-operator-assemble-diagonal.h | 22 … const CeedScalar *interp, const CeedScalar *grad, const CeedScalar *div, const CeedScalar *curl) { in GetBasisPointer() argument 34 *basis_ptr = div; in GetBasisPointer()
|
| /libCEED/backends/ref/ |
| H A D | ceed-ref-basis.c | 218 const CeedScalar *div; in CeedBasisApplyCore_Ref() local 220 CeedCallBackend(CeedBasisGetDiv(basis, &div)); in CeedBasisApplyCore_Ref() 221 …CeedTensorContractStridedApply(contract, num_comp, P, num_elem, q_comp, Q, div, t_mode, add, u, v)… in CeedBasisApplyCore_Ref() 333 … CeedInt dim, CeedInt num_nodes, CeedInt num_qpts, const CeedScalar *interp, const CeedScalar *div, in CeedBasisCreateHdiv_Ref() argument
|
| H A D | ceed-ref.h | 75 … const CeedScalar *div, const CeedScalar *q_ref, const CeedScalar *q_weight, CeedBasis basis);
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | Basis.jl | 173 create_hdiv_basis(c::Ceed, topo::Topology, ncomp, nnodes, nqpts, interp, div, qref, qweight) 175 Create a non tensor-product basis for H(div) discretizations 185 - `div`: Array of size `(nqpts, nnodes)` expressing divergence of basis functions at 199 div::AbstractArray{CeedScalar}, 205 @assert size(div) == (nqpts, nnodes) 211 div_rowmajor = collect(div') 466 getnumqpts(b), getnumnodes(b))` for a given vector $H(div)$ or $H(curl)$ basis.
|
| /libCEED/interface/ |
| H A D | ceed-basis.c | 1733 … const CeedScalar *div, const CeedScalar *q_ref, const CeedScalar *q_weight, CeedBasis *basis) { in CeedBasisCreateHdiv() argument 1741 …CeedCall(CeedBasisCreateHdiv(delegate, topo, num_comp, num_nodes, num_qpts, interp, div, q_ref, q_… in CeedBasisCreateHdiv() 1766 CeedCall(CeedMalloc(Q * P, &(*basis)->div)); in CeedBasisCreateHdiv() 1768 if (div) memcpy((*basis)->div, div, Q * P * sizeof(div[0])); in CeedBasisCreateHdiv() 1769 CeedCall(ceed->BasisCreateHdiv(topo, dim, P, Q, interp, div, q_ref, q_weight, *basis)); in CeedBasisCreateHdiv() 2006 const CeedScalar *q_ref, *q_weight, *interp, *grad, *div, *curl; in CeedBasisView() local 2015 CeedCall(CeedBasisGetDiv(basis, &div)); in CeedBasisView() 2026 if (div) { in CeedBasisView() 2028 CeedCall(CeedScalarView("div", "\t% 12.8f", q_comp * Q, P, div, tabs, stream)); in CeedBasisView() 2441 int CeedBasisGetDiv(CeedBasis basis, const CeedScalar **div) { in CeedBasisGetDiv() argument [all …]
|
| /libCEED/backends/magma/ |
| H A D | ceed-magma.h | 83 … const CeedScalar *div, const CeedScalar *q_ref, const CeedScalar *q_weight, CeedBasis basis);
|
| H A D | ceed-magma-basis.c | 707 … const CeedScalar *div, const CeedScalar *q_ref, const CeedScalar *q_weight, CeedBasis basis) { in CeedBasisCreateHdiv_Magma() argument 728 if (div) { in CeedBasisCreateHdiv_Magma() 732 …llBackend(magma_malloc((void **)&impl->d_div, num_qpts * num_nodes * q_comp_div * sizeof(div[0]))); in CeedBasisCreateHdiv_Magma() 733 …magma_setvector(num_qpts * num_nodes * q_comp_div, sizeof(div[0]), div, 1, impl->d_div, 1, data->q… in CeedBasisCreateHdiv_Magma()
|
| /libCEED/rust/libceed/src/ |
| H A D | basis.rs | 255 div: &[crate::Scalar], in create_Hdiv() 274 div.as_ptr(), in create_Hdiv()
|
| /libCEED/python/ |
| H A D | ceed.py | 514 def BasisHdiv(self, topo, ncomp, nnodes, nqpts, interp, div, qref, qweight): argument 538 interp, div, qref, qweight)
|
| /libCEED/backends/cuda-ref/ |
| H A D | ceed-cuda-ref.h | 162 … const CeedScalar *div, const CeedScalar *q_ref, const CeedScalar *q_weight, CeedBasis basis);
|
| /libCEED/backends/hip-ref/ |
| H A D | ceed-hip-ref.h | 167 … const CeedScalar *div, const CeedScalar *q_ref, const CeedScalar *q_weight, CeedBasis basis);
|