Home
last modified time | relevance | path

Searched +full:- +full:vv (Results 1 – 20 of 20) sorted by relevance

/libCEED/backends/memcheck/
H A Dceed-memcheck-restriction.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
14 #include "ceed-memcheck.h"
16 //------------------------------------------------------------------------------
18 //------------------------------------------------------------------------------
43 //------------------------------------------------------------------------------
45 //------------------------------------------------------------------------------
49 … CeedScalar *__restrict__ vv) { in CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core() argument
63 vv[e * elem_size * num_comp + (k * elem_size + n) * block_size + j - v_offset] = in CeedElemRestrictionApplyStridedNoTranspose_Memcheck_Core()
[all …]
/libCEED/backends/ref/
H A Dceed-ref-restriction.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
14 #include "ceed-ref.h"
16 //------------------------------------------------------------------------------
18 //------------------------------------------------------------------------------
22 CeedScalar *__restrict__ vv) { in CeedElemRestrictionApplyStridedNoTranspose_Ref_Core() argument
34 vv[e * elem_size * num_comp + (k * elem_size + n) * block_size + j - v_offset] = in CeedElemRestrictionApplyStridedNoTranspose_Ref_Core()
35 … uu[n + k * elem_size + CeedIntMin(e + j, num_elem - 1) * elem_size * (CeedSize)num_comp]; in CeedElemRestrictionApplyStridedNoTranspose_Ref_Core()
49 vv[e * elem_size * num_comp + (k * elem_size + n) * block_size + j - v_offset] = in CeedElemRestrictionApplyStridedNoTranspose_Ref_Core()
[all …]
/libCEED/backends/avx/
H A Dceed-avx-tensor.c1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
39 //------------------------------------------------------------------------------
41 //------------------------------------------------------------------------------
56 rtype vv[JJ][CC / 4]; // Output tile to be held in registers in CeedTensorContract_Avx_Blocked() local
58 … for (CeedInt cc = 0; cc < CC / 4; cc++) vv[jj][cc] = loadu(&v[(a * J + j + jj) * C + c + cc * 4]); in CeedTensorContract_Avx_Blocked()
64 fmadd(vv[jj][cc], tqv, loadu(&u[(a * B + b) * C + c + cc * 4])); in CeedTensorContract_Avx_Blocked()
69 … for (CeedInt cc = 0; cc < CC / 4; cc++) storeu(&v[(a * J + j + jj) * C + c + cc * 4], vv[jj][cc]); in CeedTensorContract_Avx_Blocked()
78 rtype vv[JJ][CC / 4]; // Output tile to be held in registers in CeedTensorContract_Avx_Blocked() local
[all …]
/libCEED/tests/
H A Dt411-qfunction-f.f901 !-----------------------------------------------------------------------
12 real*8 vv(q) variable
22 do i=0,q-1
39 call ceedvectorgetarrayread(v,ceed_mem_host,vv,voffset,err)
41 if (abs(vv(i+voffset)-(i-1)*(i-1)) > 1.0D-14) then
43 write(*,*) 'v(i)=',vv(i+voffset),', u(i)=',(i-1)*(i-1)
47 call ceedvectorrestorearrayread(v,vv,voffset,err)
54 !-----------------------------------------------------------------------
H A Dt410-qfunction-f.f901 !-----------------------------------------------------------------------
14 real*8 vv(q) variable
26 do i=0,q-1
28 x=2.0*i/(q-1)-1
29 ww(i+1)=1-x*x
62 call ceedvectorgetarrayread(v,ceed_mem_host,vv,voffset,err)
64 if (abs(vv(i+voffset)-vvv(i)) > 1.0D-14) then
66 write(*,*) 'v(i)=',vv(i+voffset),', vv(i)=',vvv(i)
70 call ceedvectorrestorearrayread(v,vv,voffset,err)
80 !-----------------------------------------------------------------------
H A Dt412-qfunction-f.f901 !-----------------------------------------------------------------------
13 real*8 vv(q*s) variable
23 do i=0,q*s-1
40 call ceedvectorgetarrayread(v,ceed_mem_host,vv,voffset,err)
42 if (abs(vv(i+voffset)-(i-1)*(i-1)) > 1.0D-12) then
44 write(*,*) 'v(i)=',vv(i+voffset),', u(i)=',(i-1)*(i-1)
48 call ceedvectorrestorearrayread(v,vv,voffset,err)
55 !-----------------------------------------------------------------------
H A Dt400-qfunction-f.f901 !-----------------------------------------------------------------------
5 include 't400-qfunction-f.h'
6 !-----------------------------------------------------------------------
18 real*8 vv(q)
31 &//'t400-qfunction.h:setup'//char(0),qf_setup,err)
37 &//'t400-qfunction.h:mass'//char(0),qf_mass,err)
42 do i=0,q-1
43 x=2.0*i/(q-1)-1
44 ww(i+1)=1-x*x
74 call ceedvectorgetarrayread(v,ceed_mem_host,vv,voffset,err)
[all …]
H A Dt401-qfunction-f.f901 !-----------------------------------------------------------------------
5 include 't401-qfunction-f.h'
6 !-----------------------------------------------------------------------
19 real*8 vv(q)
37 &//'t401-qfunction.h:setup'//char(0),qf_setup,err)
43 &//'t401-qfunction.h:mass'//char(0),qf_mass,err)
54 do i=0,q-1
55 x=2.0*i/(q-1)-1
56 ww(i+1)=1-x*x
86 call ceedvectorgetarrayread(v,ceed_mem_host,vv,voffset,err)
[all …]
H A Dt530-operator-f.f901 !-----------------------------------------------------------------------
5 include 't530-operator-f.h'
6 !-----------------------------------------------------------------------
30 real*8 arrx(d*ndofs),aa(nqpts),qq(nqpts),vv(ndofs)
57 do i=0,nelem-1
60 offset=col*(p-1)+row*(nx*2+1)*(p-1)
61 do j=0,p-1
62 do k=0,p-1
85 ! -- Setup
88 &//'t510-operator.h:setup'//char(0),qf_setup,err)
[all …]
H A Dt532-operator-f.f901 !-----------------------------------------------------------------------
5 include 't532-operator-f.h'
6 !-----------------------------------------------------------------------
31 real*8 arrx(d*ndofs),vv(ndofs)
59 do i=0,nelem-1
62 offset=col*(p-1)+row*(nx*2+1)*(p-1)
63 do j=0,p-1
64 do k=0,p-1
88 ! QFunction - setup mass
91 &//'t532-operator.h:setup_mass'//char(0),qf_setup_mass,err)
[all …]
H A Dt531-operator-f.f901 !-----------------------------------------------------------------------
5 include 't531-operator-f.h'
6 !-----------------------------------------------------------------------
31 real*8 arrx(d*ndofs),uu(ndofs),vv(ndofs),vvlin(ndofs)
69 do i=0,nelem-1
72 offset=col*(p-1)+row*(nx*2+1)*(p-1)
73 do j=0,p-1
74 do k=0,p-1
100 ! QFunction - setup
103 &//'t531-operator.h:setup'//char(0),qf_setup,err)
[all …]
H A Dt533-operator-f.f901 !-----------------------------------------------------------------------
5 include 't510-operator-f.h'
6 !-----------------------------------------------------------------------
30 real*8 arrx(d*ndofs),aa(nqpts),uu(ndofs),vv(ndofs),atrue(ndofs)
56 do i=0,nelem-1
59 offset=col*(p-1)+row*(nx*2+1)*(p-1)
60 do j=0,p-1
61 do k=0,p-1
84 ! -- Setup
87 &//'t510-operator.h:setup'//char(0),qf_setup,err)
[all …]
H A Dt534-operator-f.f901 !-----------------------------------------------------------------------
5 include 't534-operator-f.h'
6 !-----------------------------------------------------------------------
30 real*8 arrx(d*ndofs),aa(nqpts),uu(ndofs),vv(ndofs),atrue(ndofs)
56 do i=0,nelem-1
59 offset=col*(p-1)+row*(nx*2+1)*(p-1)
60 do j=0,p-1
61 do k=0,p-1
87 ! QFunction - setup
90 &//'t531-operator.h:setup'//char(0),qf_setup,err)
[all …]
H A Dt535-operator-f.f901 !-----------------------------------------------------------------------
5 include 't535-operator-f.h'
6 !-----------------------------------------------------------------------
30 real*8 arrx(d*ndofs),aa(nqpts),uu(ndofs),vv(ndofs),atrue(ndofs)
57 do i=0,nelem-1
60 offset=col*(p-1)+row*(nx*2+1)*(p-1)
61 do j=0,p-1
62 do k=0,p-1
86 ! QFunction - setup mass
89 &//'t532-operator.h:setup_mass'//char(0),qf_setup_mass,err)
[all …]
H A Dt536-operator-f.f901 !-----------------------------------------------------------------------
5 include 't320-basis-f.h'
9 include 't535-operator-f.h'
10 !-----------------------------------------------------------------------
34 real*8 arrx(d*ndofs),aa(nqpts),uu(ndofs),vv(ndofs),atrue(ndofs)
51 do i=0,ndofs-1
108 ! QFunction - setup mass
111 &//'t532-operator.h:setup_mass'//char(0),qf_setup_mass,err)
116 ! Operator - setup mass
126 ! QFunction - setup diff
[all …]
H A Dt405-qfunction.c4 #include "t405-qfunction.h"
25 CeedScalar x = 2. * i / (q - 1) - 1; in main()
26 w_array[i] = 1 - x * x; in main()
64 …if (2 * v_true[i] != v_array[i]) printf("[%" CeedInt_FMT "] v %f != vv %f\n", i, 2 * v_true[i], v_… in main()
/libCEED/.github/workflows/
H A Dpython-test-with-style.yml6 - main
13 os: [ubuntu-24.04]
15 python-version: ['3.x']
17 runs-on: ${{ matrix.os }}
20 - name: Environment setup
22 - name: Python setup
23 uses: actions/setup-python@v5
25 python-version: ${{ matrix.python-version }}
26 - name: Python dependencies
28 pip install -r requirements.txt
[all …]
/libCEED/python/
H A Dtest-wheel.sh1 #!/bin/bash -ex
3 ceed_dir=${1:-.}
6 #$PYBIN/pip install --upgrade -r requirements-test.txt
7 #$PYBIN/pip install libceed --no-index --find-links wheelhouse/
9 python setup-qfunctions.py build
10 python -m pytest test-*.py --ceed /cpu/self/opt/blocked -vv
/libCEED/rust/libceed/src/
H A Dqfunction.rs1 // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
2 // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
4 // SPDX-License-Identifier: BSD-2-Clause
8 //! A Ceed QFunction represents the spatial terms of the point-wise functions
18 // -----------------------------------------------------------------------------
20 // -----------------------------------------------------------------------------
27 // -----------------------------------------------------------------------------
29 // -----------------------------------------------------------------------------
35 /// # fn main() -> libceed::Result<()> {
47 pub fn name(&self) -> &str { in name()
[all …]
/libCEED/doc/img/
H A DCubedSphere.svg1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
5 xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
9 xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
17 inkscape:version="0.92.4 (fd57863, 2020-04-02)">
39 inkscape:window-width="2447"
40 inkscape:window-height="1469"
47 inkscape:window-x="2111"
48 inkscape:window-y="609"
49 inkscape:window-maximized="0"
50 inkscape:current-layer="svg12" />
[all …]