LCOV - code coverage report
Current view: top level - src/bcs - FXValueBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose functional_expansion_tools: #31405 (292dce) with base fef103 Lines: 8 9 88.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 "FXValueBC.h"
      11             : #include "FunctionSeries.h"
      12             : 
      13             : registerMooseObject("FunctionalExpansionToolsApp", FXValueBC);
      14             : 
      15             : InputParameters
      16          40 : FXValueBC::validParams()
      17             : {
      18          40 :   InputParameters params = FunctionDirichletBC::validParams();
      19             : 
      20          40 :   params.addClassDescription(
      21             :       "Imposes a fixed value boundary condition, evaluated using a FunctionSeries instance.");
      22             : 
      23          40 :   return params;
      24           0 : }
      25             : 
      26          21 : FXValueBC::FXValueBC(const InputParameters & parameters) : FunctionDirichletBC(parameters)
      27             : {
      28          21 :   FunctionSeries & fe_basis = FunctionSeries::checkAndConvertFunction(_func, getBase(), name());
      29             : 
      30          19 :   fe_basis.useCache(true);
      31          19 : }

Generated by: LCOV version 1.14