LCOV - code coverage report
Current view: top level - src/auxkernels - FunctionSeriesToAux.C (source / functions) Hit Total Coverage
Test: idaholab/moose functional_expansion_tools: #31405 (292dce) with base fef103 Lines: 10 11 90.9 %
Date: 2025-09-04 07:53:29 Functions: 2 2 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 "FunctionSeries.h"
      11             : #include "FunctionSeriesToAux.h"
      12             : 
      13             : registerMooseObject("FunctionalExpansionToolsApp", FunctionSeriesToAux);
      14             : 
      15             : InputParameters
      16         380 : FunctionSeriesToAux::validParams()
      17             : {
      18         380 :   InputParameters params = FunctionAux::validParams();
      19             : 
      20         380 :   params.addClassDescription("AuxKernel to convert a functional expansion"
      21             :                              " (Functions object, type = FunctionSeries) to an AuxVariable");
      22             : 
      23             :   // Force this AuxKernel to execute at "timestep_begin"
      24         380 :   params.set<ExecFlagEnum>("execute_on", true) = EXEC_TIMESTEP_BEGIN;
      25             :   // Don't let the user change the execution time
      26         380 :   params.suppressParameter<ExecFlagEnum>("execute_on");
      27             : 
      28         380 :   return params;
      29           0 : }
      30             : 
      31         208 : FunctionSeriesToAux::FunctionSeriesToAux(const InputParameters & parameters)
      32         208 :   : FunctionAux(parameters)
      33             : {
      34         208 :   FunctionSeries::checkAndConvertFunction(_func, getBase(), name());
      35         206 : }

Generated by: LCOV version 1.14