LCOV - code coverage report
Current view: top level - src/fvbcs - CNSFVHLLCMassImplicitBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: 9fc4b0 Lines: 13 14 92.9 %
Date: 2025-08-14 10:14:56 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         150 : CNSFVHLLCMassImplicitBC::validParams()
      17             : {
      18         150 :   InputParameters params = CNSFVHLLCImplicitBC::validParams();
      19         150 :   params.addClassDescription("Implements an implicit advective boundary flux for the mass "
      20             :                              "equation for an HLLC discretization");
      21         150 :   return params;
      22           0 : }
      23             : 
      24          81 : CNSFVHLLCMassImplicitBC::CNSFVHLLCMassImplicitBC(const InputParameters & parameters)
      25          81 :   : CNSFVHLLCImplicitBC(parameters)
      26             : {
      27          81 : }
      28             : 
      29             : ADReal
      30        7428 : CNSFVHLLCMassImplicitBC::fluxElem()
      31             : {
      32        7428 :   return _normal_speed_elem * _rho_elem[_qp];
      33             : }
      34             : 
      35             : ADReal
      36        7428 : CNSFVHLLCMassImplicitBC::hllcElem()
      37             : {
      38        7428 :   return 1;
      39             : }
      40             : 
      41             : ADReal
      42        7428 : CNSFVHLLCMassImplicitBC::conservedVariableElem()
      43             : {
      44        7428 :   return _rho_elem[_qp];
      45             : }

Generated by: LCOV version 1.14