LCOV - code coverage report
Current view: top level - src/fvbcs - INSFVInletVelocityBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 853d1f Lines: 8 10 80.0 %
Date: 2025-10-25 20:01:59 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       23593 : INSFVInletVelocityBC::validParams()
      17             : {
      18       23593 :   InputParameters params = FVADFunctorDirichletBC::validParams();
      19       23593 :   params += INSFVFlowBC::validParams();
      20       23593 :   return params;
      21           0 : }
      22             : 
      23       13436 : INSFVInletVelocityBC::INSFVInletVelocityBC(const InputParameters & params)
      24       13436 :   : FVADFunctorDirichletBC(params), INSFVFlowBC(params)
      25             : {
      26       13436 :   if (!dynamic_cast<INSFVVelocityVariable *>(&_var))
      27           0 :     paramError(
      28             :         "variable",
      29             :         "The variable argument to INSFVInletVelocityBC must be of type INSFVVelocityVariable");
      30       13436 : }

Generated by: LCOV version 1.14