LCOV - code coverage report
Current view: top level - include/fvkernels - INSFVMomentumPressure.h (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 1 2 50.0 %
Date: 2025-08-14 10:14:56 Functions: 1 2 50.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 "FVElementalKernel.h"
      13             : #include "INSFVMomentumResidualObject.h"
      14             : 
      15             : class INSFVMomentumPressure : public FVElementalKernel, public INSFVMomentumResidualObject
      16             : {
      17             : public:
      18             :   static InputParameters validParams();
      19             :   INSFVMomentumPressure(const InputParameters & params);
      20             : 
      21             :   // This object neither contributes to the A coefficients nor to the B (source) coefficients
      22    46205847 :   void gatherRCData(const Elem &) override {}
      23           0 :   void gatherRCData(const FaceInfo &) override {}
      24             : 
      25             : protected:
      26             :   ADReal computeQpResidual() override;
      27             : 
      28             :   /// The pressure
      29             :   const Moose::Functor<ADReal> & _p;
      30             : 
      31             :   /// index x|y|z
      32             :   const unsigned int _index;
      33             : 
      34             :   /// Whether to correct for mesh skewness in face calculations
      35             :   const bool _correct_skewness;
      36             : };

Generated by: LCOV version 1.14