LCOV - code coverage report
Current view: top level - src/fvbcs - CNSFVHLLCMassImplicitBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: #32971 (54bef8) with base c6cf66 Lines: 13 14 92.9 %
Date: 2026-05-29 20:37:52 Functions: 5 5 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 "CNSFVHLLCMassImplicitBC.h"
      11             : 
      12             : // Full specialization of the validParams function for this object
      13             : registerADMooseObject("NavierStokesApp", CNSFVHLLCMassImplicitBC);
      14             : 
      15             : InputParameters
      16          70 : CNSFVHLLCMassImplicitBC::validParams()
      17             : {
      18          70 :   InputParameters params = CNSFVHLLCImplicitBC::validParams();
      19          70 :   params.addClassDescription("Implements an implicit advective boundary flux for the mass "
      20             :                              "equation for an HLLC discretization");
      21          70 :   return params;
      22           0 : }
      23             : 
      24          37 : CNSFVHLLCMassImplicitBC::CNSFVHLLCMassImplicitBC(const InputParameters & parameters)
      25          37 :   : CNSFVHLLCImplicitBC(parameters)
      26             : {
      27          37 : }
      28             : 
      29             : ADReal
      30        4674 : CNSFVHLLCMassImplicitBC::fluxElem()
      31             : {
      32        4674 :   return _normal_speed_elem * _rho_elem[_qp];
      33             : }
      34             : 
      35             : ADReal
      36        4674 : CNSFVHLLCMassImplicitBC::hllcElem()
      37             : {
      38        4674 :   return 1;
      39             : }
      40             : 
      41             : ADReal
      42        4674 : CNSFVHLLCMassImplicitBC::conservedVariableElem()
      43             : {
      44        4674 :   return _rho_elem[_qp];
      45             : }

Generated by: LCOV version 1.14