LCOV - code coverage report
Current view: top level - include/userobjects - PINSFVRhieChowInterpolatorSegregated.h (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 2 2 100.0 %
Date: 2025-08-14 10:14:56 Functions: 1 1 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             : #pragma once
      11             : 
      12             : #include "INSFVRhieChowInterpolatorSegregated.h"
      13             : 
      14             : /**
      15             :  * A user object which implements the Rhie Chow interpolation for segregated
      16             :  * porous medium momentum-pressure systems.
      17             :  */
      18             : class PINSFVRhieChowInterpolatorSegregated : public INSFVRhieChowInterpolatorSegregated
      19             : {
      20             : public:
      21             :   static InputParameters validParams();
      22             :   PINSFVRhieChowInterpolatorSegregated(const InputParameters & params);
      23             : 
      24             : protected:
      25             :   const Moose::FunctorBase<ADReal> & epsilon(THREAD_ID tid) const override;
      26             : 
      27             :   /// The thread 0 copy of the porosity functor held by the subproblem. Initially this functor
      28             :   /// should be provided by a functor material property or function. We then perform repeated
      29             :   /// interpolations and reconstructions to create the resulting smoothed field
      30             :   const Moose::Functor<ADReal> & _eps;
      31             : 
      32             :   /// All the thread copies of the problem's porosity functor
      33             :   std::vector<const Moose::Functor<ADReal> *> _epss;
      34             : };
      35             : 
      36             : inline const Moose::FunctorBase<ADReal> &
      37     1285324 : PINSFVRhieChowInterpolatorSegregated::epsilon(const THREAD_ID tid) const
      38             : {
      39     1285324 :   return *_epss[tid];
      40             : }

Generated by: LCOV version 1.14