LCOV - code coverage report
Current view: top level - src/auxkernels - MaterialRealAux.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: 2bf808 Lines: 9 10 90.0 %
Date: 2025-07-17 01:28:37 Functions: 10 12 83.3 %
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 "MaterialRealAux.h"
      11             : 
      12             : registerMooseObject("MooseApp", MaterialRealAux);
      13             : registerMooseObject("MooseApp", ADMaterialRealAux);
      14             : registerMooseObject("MooseApp", FunctorMaterialRealAux);
      15             : registerMooseObject("MooseApp", ADFunctorMaterialRealAux);
      16             : 
      17             : template <bool is_ad, bool is_functor>
      18             : InputParameters
      19       66625 : MaterialRealAuxTempl<is_ad, is_functor>::validParams()
      20             : {
      21       66625 :   InputParameters params = MaterialAuxBaseTempl<Real, is_ad, is_functor>::validParams();
      22       66625 :   params.addClassDescription("Outputs element volume-averaged material properties");
      23       66625 :   return params;
      24           0 : }
      25             : 
      26             : template <bool is_ad, bool is_functor>
      27        4993 : MaterialRealAuxTempl<is_ad, is_functor>::MaterialRealAuxTempl(const InputParameters & parameters)
      28        4993 :   : MaterialAuxBaseTempl<Real, is_ad, is_functor>(parameters)
      29             : {
      30        4985 : }
      31             : 
      32             : template <bool is_ad, bool is_functor>
      33             : Real
      34    15199173 : MaterialRealAuxTempl<is_ad, is_functor>::getRealValue()
      35             : {
      36    15199173 :   return MetaPhysicL::raw_value(this->_full_value);
      37             : }
      38             : 
      39             : template class MaterialRealAuxTempl<false, false>;
      40             : template class MaterialRealAuxTempl<true, false>;
      41             : template class MaterialRealAuxTempl<false, true>;
      42             : template class MaterialRealAuxTempl<true, true>;

Generated by: LCOV version 1.14