LCOV - code coverage report
Current view: top level - src/indicators - AbsoluteValueIndicator.C (source / functions) Hit Total Coverage
Test: idaholab/malamute: 0e4c8a Lines: 0 10 0.0 %
Date: 2025-08-02 07:01:39 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : /****************************************************************************/
       2             : /*                        DO NOT MODIFY THIS HEADER                         */
       3             : /*                                                                          */
       4             : /* MALAMUTE: MOOSE Application Library for Advanced Manufacturing UTilitiEs */
       5             : /*                                                                          */
       6             : /*           Copyright 2021 - 2024, Battelle Energy Alliance, LLC           */
       7             : /*                           ALL RIGHTS RESERVED                            */
       8             : /****************************************************************************/
       9             : 
      10             : #include "AbsoluteValueIndicator.h"
      11             : #include "Function.h"
      12             : 
      13             : registerMooseObject("MalamuteApp", AbsoluteValueIndicator);
      14             : 
      15             : InputParameters
      16           0 : AbsoluteValueIndicator::validParams()
      17             : {
      18           0 :   InputParameters params = ElementIntegralIndicator::validParams();
      19           0 :   params.addClassDescription(
      20             :       "Computes the absolute value of the provided variable for use as an error indicator.");
      21           0 :   return params;
      22           0 : }
      23             : 
      24           0 : AbsoluteValueIndicator::AbsoluteValueIndicator(const InputParameters & parameters)
      25           0 :   : ElementIntegralIndicator(parameters)
      26             : {
      27           0 : }
      28             : 
      29             : Real
      30           0 : AbsoluteValueIndicator::computeQpIntegral()
      31             : {
      32           0 :   return std::abs(_u[_qp]) / _JxW[_qp];
      33             : }

Generated by: LCOV version 1.14