LCOV - code coverage report
Current view: top level - src/functions - FunctionBase.C (source / functions) Hit Total Coverage
Test: idaholab/moose framework: #31825 (c328ac) with base d8769b Lines: 12 13 92.3 %
Date: 2025-11-10 13:32:39 Functions: 4 5 80.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 "FunctionBase.h"
      11             : 
      12             : namespace Moose
      13             : {
      14             : 
      15             : InputParameters
      16      633711 : FunctionBase::validParams()
      17             : {
      18      633711 :   InputParameters params = MooseObject::validParams();
      19      633711 :   params += SetupInterface::validParams();
      20             : 
      21             :   // Functions should be executed on the fly
      22      633711 :   params.suppressParameter<ExecFlagEnum>("execute_on");
      23             : 
      24      633711 :   return params;
      25           0 : }
      26             : 
      27       57590 : FunctionBase::FunctionBase(const InputParameters & parameters)
      28             :   : MooseObject(parameters),
      29             :     SetupInterface(this),
      30             :     TransientInterface(this),
      31             :     PostprocessorInterface(this),
      32             :     UserObjectInterface(this),
      33             :     Restartable(this, "Functions"),
      34             :     MeshChangedInterface(parameters),
      35      172770 :     ScalarCoupleable(this)
      36             : {
      37       57590 : }
      38             : 
      39             : #ifdef MOOSE_KOKKOS_ENABLED
      40       13487 : FunctionBase::FunctionBase(const FunctionBase & object, const Moose::Kokkos::FunctorCopy & key)
      41             :   : MooseObject(object, key),
      42             :     SetupInterface(object, key),
      43             :     TransientInterface(object, key),
      44             :     PostprocessorInterface(object, key),
      45             :     UserObjectInterface(object, key),
      46             :     Restartable(object, key),
      47             :     MeshChangedInterface(object, key),
      48       13487 :     ScalarCoupleable(object, key)
      49             : {
      50       13487 : }
      51             : #endif
      52             : 
      53       67758 : FunctionBase::~FunctionBase() {}
      54             : 
      55             : } // namespace Moose

Generated by: LCOV version 1.14