LCOV - code coverage report
Current view: top level - src/kokkos/postprocessors - KokkosElementL2Norm.K (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 9 9 100.0 %
Date: 2026-05-29 20:35:17 Functions: 4 4 100.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : //* This file is part of the MOOSE framework
       2             : //* https://mooseframework.inl.gov
       3             : //*
       4             : //* All rights reserved, see COPYRIGHT for full restrictions
       5             : //* https://github.com/idaholab/moose/blob/master/COPYRIGHT
       6             : //*
       7             : //* Licensed under LGPL 2.1, please see LICENSE for details
       8             : //* https://www.gnu.org/licenses/lgpl-2.1.html
       9             : 
      10             : #include "KokkosElementL2Norm.h"
      11             : 
      12      363195 : registerKokkosUserObject("MooseApp", KokkosElementL2Norm);
      13             : 
      14             : InputParameters
      15        2132 : KokkosElementL2Norm::validParams()
      16             : {
      17        2132 :   InputParameters params = KokkosElementIntegralVariablePostprocessor::validParams();
      18        2132 :   return params;
      19             : }
      20             : 
      21          17 : KokkosElementL2Norm::KokkosElementL2Norm(const InputParameters & parameters)
      22           9 :   : KokkosElementIntegralVariablePostprocessor(parameters)
      23             : {
      24          17 : }
      25             : 
      26             : Real
      27          15 : KokkosElementL2Norm::getValue() const
      28             : {
      29          15 :   return std::sqrt(KokkosElementIntegralVariablePostprocessor::getValue());
      30             : }

Generated by: LCOV version 1.14