LCOV - code coverage report
Current view: top level - src/userobjects - RhieChowFaceFluxProvider.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 7 12 58.3 %
Date: 2025-08-14 10:14:56 Functions: 2 3 66.7 %
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 "RhieChowFaceFluxProvider.h"
      11             : 
      12             : using namespace libMesh;
      13             : 
      14             : InputParameters
      15       17554 : RhieChowFaceFluxProvider::validParams()
      16             : {
      17       17554 :   auto params = GeneralUserObject::validParams();
      18       17554 :   params += BlockRestrictable::validParams();
      19             : 
      20       17554 :   return params;
      21           0 : }
      22             : 
      23        8781 : RhieChowFaceFluxProvider::RhieChowFaceFluxProvider(const InputParameters & params)
      24        8781 :   : GeneralUserObject(params), BlockRestrictable(this)
      25             : {
      26        8781 : }
      27             : 
      28             : bool
      29           0 : RhieChowFaceFluxProvider::hasFaceSide(const FaceInfo & fi, const bool fi_elem_side) const
      30             : {
      31           0 :   if (fi_elem_side)
      32           0 :     return hasBlocks(fi.elem().subdomain_id());
      33             :   else
      34           0 :     return fi.neighborPtr() && hasBlocks(fi.neighbor().subdomain_id());
      35             : }

Generated by: LCOV version 1.14