LCOV - code coverage report
Current view: top level - fem/qfunctions/3 - h1_build_3_qf.h (source / functions) Coverage Total Hit
Test: Palace Coverage Report Lines: 0.0 % 15 0
Test Date: 2025-10-23 22:45:05 Functions: 0.0 % 1 0
Legend: Lines: hit not hit

            Line data    Source code
       1              : // Copyright Amazon.com, Inc. or its affiliates. All Rights Reserved.
       2              : // SPDX-License-Identifier: Apache-2.0
       3              : 
       4              : #ifndef PALACE_LIBCEED_H1_BUILD_3_QF_H
       5              : #define PALACE_LIBCEED_H1_BUILD_3_QF_H
       6              : 
       7              : #include "../coeff/coeff_3_qf.h"
       8              : 
       9            0 : CEED_QFUNCTION(f_build_h1_3)(void *__restrict__ ctx, CeedInt Q, const CeedScalar *const *in,
      10              :                              CeedScalar *const *out)
      11              : {
      12            0 :   const CeedScalar *attr = in[0], *wdetJ = in[0] + Q;
      13            0 :   CeedScalar *qd = out[0];
      14              : 
      15            0 :   CeedPragmaSIMD for (CeedInt i = 0; i < Q; i++)
      16              :   {
      17              :     CeedScalar coeff[9];
      18            0 :     CoeffUnpack3((const CeedIntScalar *)ctx, (CeedInt)attr[i], coeff);
      19              : 
      20            0 :     qd[i + Q * 0] = wdetJ[i] * coeff[0];
      21            0 :     qd[i + Q * 1] = wdetJ[i] * coeff[1];
      22            0 :     qd[i + Q * 2] = wdetJ[i] * coeff[2];
      23            0 :     qd[i + Q * 3] = wdetJ[i] * coeff[3];
      24            0 :     qd[i + Q * 4] = wdetJ[i] * coeff[4];
      25            0 :     qd[i + Q * 5] = wdetJ[i] * coeff[5];
      26            0 :     qd[i + Q * 6] = wdetJ[i] * coeff[6];
      27            0 :     qd[i + Q * 7] = wdetJ[i] * coeff[7];
      28            0 :     qd[i + Q * 8] = wdetJ[i] * coeff[8];
      29              :   }
      30            0 :   return 0;
      31              : }
      32              : 
      33              : #endif  // PALACE_LIBCEED_H1_BUILD_3_QF_H
        

Generated by: LCOV version 2.0-1