LCOV - code coverage report
Current view: top level - src/postprocessors - ElementHDivError.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #32971 (54bef8) with base c6cf66 Lines: 9 10 90.0 %
Date: 2026-05-29 20:35:17 Functions: 3 3 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 "ElementHDivError.h"
      11             : 
      12             : registerMooseObject("MooseApp", ElementHDivError);
      13             : 
      14             : InputParameters
      15        3361 : ElementHDivError::validParams()
      16             : {
      17        3361 :   InputParameters params = ElementHDivSemiError::validParams();
      18        3361 :   params.addClassDescription("Returns the H(div)-norm of the difference between a pair of "
      19             :                              "computed and analytical vector-valued solutions.");
      20        3361 :   return params;
      21           0 : }
      22             : 
      23         156 : ElementHDivError::ElementHDivError(const InputParameters & parameters)
      24         156 :   : ElementHDivSemiError(parameters)
      25             : {
      26         156 : }
      27             : 
      28             : Real
      29      299520 : ElementHDivError::computeQpIntegral()
      30             : {
      31      299520 :   return ElementVectorL2Error::computeQpIntegral() + ElementHDivSemiError::computeQpIntegral();
      32             : }

Generated by: LCOV version 1.14