LCOV - code coverage report
Current view: top level - src/Model/Solid - InClassOperators.H (source / functions) Hit Total Coverage
Test: coverage_merged.info Lines: 2 5 40.0 %
Date: 2024-11-18 05:28:54 Functions: 0 0 -

          Line data    Source code
       1             : AMREX_FORCE_INLINE
       2             : void operator += (const OP_CLASS &rhs)
       3             : {
       4             : #define X(name) \
       5             :     name += rhs.name;
       6      135215 :     OP_VARS
       7             : #undef X
       8      147755 : }    
       9             : 
      10             : AMREX_FORCE_INLINE
      11             : OP_CLASS operator * (const Set::Scalar alpha) const
      12             : {
      13           0 :         OP_CLASS ret;
      14             : #define X(name) \
      15             :     ret.name = name*alpha;
      16           0 :     OP_VARS
      17             : #undef X
      18           0 :     return ret;
      19             : }    
      20             : friend OP_CLASS operator * (const Set::Scalar alpha, const OP_CLASS b);
      21             : friend OP_CLASS operator + (const OP_CLASS a, const OP_CLASS b);
      22             : friend OP_CLASS operator - (const OP_CLASS a, const OP_CLASS b);
      23             : friend bool operator == (const OP_CLASS a, const OP_CLASS b);

Generated by: LCOV version 1.14