LCOV - code coverage report
Current view: top level - include/kernels - INSFEFluidMomentumKernel.h (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 1 1 100.0 %
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             : #pragma once
      11             : 
      12             : #include "INSFEFluidKernelStabilization.h"
      13             : 
      14             : /**
      15             :  * The spatial part of the 3D momentum conservation for fluid flow
      16             :  */
      17             : class INSFEFluidMomentumKernel : public INSFEFluidKernelStabilization
      18             : {
      19             : public:
      20             :   static InputParameters validParams();
      21             : 
      22             :   INSFEFluidMomentumKernel(const InputParameters & parameters);
      23         528 :   virtual ~INSFEFluidMomentumKernel() {}
      24             : 
      25             : protected:
      26             :   virtual Real computeQpResidual() override;
      27             :   virtual Real computeQpJacobian() override;
      28             :   virtual Real computeQpOffDiagJacobian(unsigned int jvar) override;
      29             : 
      30             :   /// Gradient of porosity
      31             :   const VariableGradient & _grad_eps;
      32             :   /// Whether conservative form to be used for the convection term
      33             :   const bool _conservative_form;
      34             :   /// Whether integration by parts to be used for the pressure gradient term
      35             :   const bool _p_int_by_parts;
      36             :   /// The component (x=0, y=1, z=2) of the momentum equation this kernel is applied
      37             :   const unsigned _component;
      38             : };

Generated by: LCOV version 1.14