LCOV - code coverage report
Current view: top level - src/fvbcs - INSFVInletVelocityBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 10 12 83.3 %
Date: 2025-08-14 10:14:56 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 "INSFVInletVelocityBC.h"
      11             : #include "INSFVVelocityVariable.h"
      12             : 
      13             : registerMooseObject("NavierStokesApp", INSFVInletVelocityBC);
      14             : 
      15             : InputParameters
      16       23530 : INSFVInletVelocityBC::validParams()
      17             : {
      18       23530 :   InputParameters params = FVADFunctorDirichletBC::validParams();
      19       23530 :   params += INSFVFlowBC::validParams();
      20       47060 :   params.addParam<FunctionName>("function", "Function (functor) describing the inlet velocity");
      21       47060 :   params.deprecateParam("function", "functor", "01/01/2024");
      22       23530 :   return params;
      23           0 : }
      24             : 
      25       13392 : INSFVInletVelocityBC::INSFVInletVelocityBC(const InputParameters & params)
      26       13392 :   : FVADFunctorDirichletBC(params), INSFVFlowBC(params)
      27             : {
      28       13392 :   if (!dynamic_cast<INSFVVelocityVariable *>(&_var))
      29           0 :     paramError(
      30             :         "variable",
      31             :         "The variable argument to INSFVInletVelocityBC must be of type INSFVVelocityVariable");
      32       13392 : }

Generated by: LCOV version 1.14