| /libCEED/julia/LibCEED.jl/test/ |
| H A D | buildmats.jl | 1 function build_mats_hdiv(qref, qweight, ::Type{T}=Float64) where {T} argument 6 qref[1, 1] = -1.0/sqrt(3.0) 7 qref[1, 2] = qref[1, 1] 8 qref[1, 3] = qref[1, 1] 9 qref[1, 4] = -qref[1, 1] 10 qref[2, 1] = -qref[1, 1] 11 qref[2, 2] = -qref[1, 1] 12 qref[2, 3] = qref[1, 1] 13 qref[2, 4] = qref[1, 1] 21 x1 = qref[1, i] [all …]
|
| /libCEED/python/tests/ |
| H A D | buildmats.py | 4 def buildmats(qref, qweight, mat_dtype="float64"): argument 9 qref[0] = 0.2 10 qref[1] = 0.6 11 qref[2] = 1. / 3. 12 qref[3] = 0.2 13 qref[4] = 0.2 14 qref[5] = 0.2 15 qref[6] = 1. / 3. 16 qref[7] = 0.6 24 x1 = qref[0 * Q + i] [all …]
|
| H A D | test-3-basis.py | 209 qref = np.empty(dim * Q, dtype=ceed.scalar_type()) 212 interp, grad = bm.buildmats(qref, qweight, libceed.scalar_types[ 215 b = ceed.BasisH1(libceed.TRIANGLE, 1, P, Q, interp, grad, qref, qweight) 233 qref = np.empty(dim * Q, dtype=ceed.scalar_type()) 236 interp, grad = bm.buildmats(qref, qweight, libceed.scalar_types[ 239 b = ceed.BasisH1(libceed.TRIANGLE, 1, P, Q, interp, grad, qref, qweight) 277 qref = np.empty(dim * Q, dtype=ceed.scalar_type()) 280 interp, grad = bm.buildmats(qref, qweight, libceed.scalar_types[ 283 b = ceed.BasisH1(libceed.TRIANGLE, 1, P, Q, interp, grad, qref, qweight) 316 qref = np.empty(dim * Q, dtype=ceed.scalar_type()) [all …]
|
| /libCEED/tests/ |
| H A D | t302-basis-f.f90 | 10 real*8 grad1d(16),qref(6) variable 41 call ceedbasisgetqref(b,qref,qoffset,err) 43 x2(i)=qref(i+qoffset)*qref(i+qoffset) 51 if (abs(sum-2*qref(i+1+qoffset))>1.0D-13) then 54 & 2*qref(i+1+qoffset) 64 call ceedbasisgetqref(b,qref,qoffset,err) 66 x2(i)=qref(i+qoffset)*qref(i+qoffset) 74 if (abs(sum-2*qref(i+1+qoffset))>1.0D-13) then 77 & 2*qref(i+1+qoffset)
|
| H A D | t320-basis-f.h | 9 subroutine buildmats(qref,qweight,interp,grad) 15 real*8 qref(d*q) 21 qref=(/2.d-1,6.d-1,1.d0/3.d0,2.d-1,2.d-1,2.d-1,1.d0/3.d0,6.d-1/) 25 x1 = qref(0*q+i+1) 26 x2 = qref(1*q+i+1);
|
| H A D | t320-basis-f.f90 | 17 real*8 qref(d*q) 30 call buildmats(qref,qweight,interp,grad) 32 call ceedbasiscreateh1(ceed,ceed_triangle,1,p,q,interp,grad,qref,qweight,&
|
| H A D | t322-basis-f.f90 | 25 real*8 qref(d*q) variable 46 call buildmats(qref,qweight,interp,grad) 50 call ceedbasiscreateh1(ceed,ceed_triangle,1,p,q,interp,grad,qref,qweight,&
|
| H A D | t511-operator-f.f90 | 37 real*8 qref(d*q) 88 call buildmats(qref,qweight,interp,grad) 89 call ceedbasiscreateh1(ceed,ceed_triangle,d,p,q,interp,grad,qref,qweight,& 91 call buildmats(qref,qweight,interp,grad) 92 call ceedbasiscreateh1(ceed,ceed_triangle,1,p,q,interp,grad,qref,qweight,&
|
| H A D | t510-operator-f.f90 | 37 real*8 qref(d*q) 87 call buildmats(qref,qweight,interp,grad) 88 call ceedbasiscreateh1(ceed,ceed_triangle,d,p,q,interp,grad,qref,qweight,& 90 call buildmats(qref,qweight,interp,grad) 91 call ceedbasiscreateh1(ceed,ceed_triangle,1,p,q,interp,grad,qref,qweight,&
|
| H A D | t323-basis-f.f90 | 32 real*8 qref(d*q) variable 53 call buildmats(qref,qweight,interp,grad) 57 call ceedbasiscreateh1(ceed,ceed_triangle,1,p,q,interp,grad,qref,qweight,&
|
| H A D | t536-operator-f.f90 | 37 real*8 qref(d*q) 101 call buildmats(qref,qweight,interp,grad) 102 call ceedbasiscreateh1(ceed,ceed_triangle,d,p,q,interp,grad,qref,qweight,& 104 call buildmats(qref,qweight,interp,grad) 105 call ceedbasiscreateh1(ceed,ceed_triangle,1,p,q,interp,grad,qref,qweight,&
|
| H A D | t523-operator-f.f90 | 44 real*8 qref(d*qtet) 98 call buildmats(qref,qweight,interp,grad) 99 call ceedbasiscreateh1(ceed,ceed_triangle,d,ptet,qtet,interp,grad,qref,& 101 call buildmats(qref,qweight,interp,grad) 102 call ceedbasiscreateh1(ceed,ceed_triangle,1,ptet,qtet,interp,grad,qref,&
|
| H A D | t524-operator-f.f90 | 46 real*8 qref(d*qtet) 110 call buildmats(qref,qweight,interp,grad) 111 call ceedbasiscreateh1(ceed,ceed_triangle,d,ptet,qtet,interp,grad,qref,& 113 call buildmats(qref,qweight,interp,grad) 114 call ceedbasiscreateh1(ceed,ceed_triangle,1,ptet,qtet,interp,grad,qref,&
|
| H A D | t521-operator-f.f90 | 46 real*8 qref(d*qtet) 110 call buildmats(qref,qweight,interp,grad) 111 call ceedbasiscreateh1(ceed,ceed_triangle,d,ptet,qtet,interp,grad,qref,& 113 call buildmats(qref,qweight,interp,grad) 114 call ceedbasiscreateh1(ceed,ceed_triangle,1,ptet,qtet,interp,grad,qref,&
|
| H A D | t520-operator-f.f90 | 46 real*8 qref(d*qtet) 108 call buildmats(qref,qweight,interp,grad) 109 call ceedbasiscreateh1(ceed,ceed_triangle,d,ptet,qtet,interp,grad,qref,& 111 call buildmats(qref,qweight,interp,grad) 112 call ceedbasiscreateh1(ceed,ceed_triangle,1,ptet,qtet,interp,grad,qref,&
|
| H A D | t522-operator-f.f90 | 46 real*8 qref(d*qtet) 110 call buildmats(qref,qweight,interp,grad) 111 call ceedbasiscreateh1(ceed,ceed_triangle,d,ptet,qtet,interp,grad,qref,& 113 call buildmats(qref,qweight,interp,grad) 114 call ceedbasiscreateh1(ceed,ceed_triangle,1,ptet,qtet,interp,grad,qref,&
|
| /libCEED/tests/output/ |
| H A D | t320-basis.out | 6 …qref: 0.20000000 0.60000000 0.33333333 0.20000000 0.20000000 0.20000000 0.33333… 27 …qref: 0.20000000 0.60000000 0.33333333 0.20000000 0.20000000 0.20000000 0.33333…
|
| H A D | t320-basis-f.out | 6 …qref: 0.20000000 0.60000000 0.33333333 0.20000000 0.20000000 0.20000000 0.33333… 27 …qref: 0.20000000 0.60000000 0.33333333 0.20000000 0.20000000 0.20000000 0.33333…
|
| H A D | t330-basis.out | 6 …qref: -0.77459667 0.00000000 0.77459667 -0.77459667 0.00000000 0.77459667 -0.77459… 42 …qref: -0.77459667 0.00000000 0.77459667 -0.77459667 0.00000000 0.77459667 -0.77459…
|
| H A D | t340-basis.out | 6 …qref: 0.33333333 0.20000000 0.20000000 0.60000000 0.33333333 0.20000000 0.60000… 27 …qref: 0.33333333 0.20000000 0.20000000 0.60000000 0.33333333 0.20000000 0.60000…
|
| /libCEED/rust/libceed/src/ |
| H A D | basis.rs | 217 qref: &[crate::Scalar], in create_H1() 236 qref.as_ptr(), in create_H1() 256 qref: &[crate::Scalar], in create_Hdiv() 275 qref.as_ptr(), in create_Hdiv() 295 qref: &[crate::Scalar], in create_Hcurl() 314 qref.as_ptr(), in create_Hcurl()
|
| /libCEED/python/ |
| H A D | ceed_basis.py | 306 nqpts, interp, grad, qref, qweight): argument 326 qref.__array_interface__['data'][0]) 347 nqpts, interp, grad, qref, qweight): argument 367 qref.__array_interface__['data'][0]) 388 nqpts, interp, grad, qref, qweight): argument 408 qref.__array_interface__['data'][0])
|
| H A D | ceed.py | 488 def BasisH1(self, topo, ncomp, nnodes, nqpts, interp, grad, qref, qweight): argument 512 interp, grad, qref, qweight) 514 def BasisHdiv(self, topo, ncomp, nnodes, nqpts, interp, div, qref, qweight): argument 538 interp, div, qref, qweight) 541 interp, curl, qref, qweight): argument 565 interp, curl, qref, qweight)
|
| /libCEED/julia/LibCEED.jl/src/ |
| H A D | Basis.jl | 115 create_h1_basis(c::Ceed, topo::Topology, ncomp, nnodes, nqpts, interp, grad, qref, qweight) 129 - `qref`: Matrix of size `(dim, nqpts)` holding the locations of quadrature points on the 142 qref::AbstractArray{CeedScalar}, 148 @assert size(qref) == (dim, nqpts) 154 qref_rowmajor = collect(qref') 173 create_hdiv_basis(c::Ceed, topo::Topology, ncomp, nnodes, nqpts, interp, div, qref, qweight) 187 - `qref`: Matrix of size `(dim, nqpts)` holding the locations of quadrature points on the 200 qref::AbstractArray{CeedScalar}, 206 @assert size(qref) == (dim, nqpts) 212 qref_rowmajor = collect(qref') [all …]
|
| /libCEED/julia/LibCEED.jl/test/output/Float32/ |
| H A D | b3.out | 6 qref: -1.00000000 0.00000000 1.00000000
|