LCOV - code coverage report
Current view: top level - src/bcs - NavierStokesStressIPHDGPrescribedTractionBC.C (source / functions) Hit Total Coverage
Test: idaholab/moose navier_stokes: #32971 (54bef8) with base c6cf66 Lines: 10 11 90.9 %
Date: 2026-05-29 20:37:52 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             : #include "NavierStokesStressIPHDGAssemblyHelper.h"
      11             : #include "NavierStokesStressIPHDGPrescribedTractionBC.h"
      12             : 
      13             : registerMooseObject("NavierStokesApp", NavierStokesStressIPHDGPrescribedTractionBC);
      14             : 
      15             : InputParameters
      16         560 : NavierStokesStressIPHDGPrescribedTractionBC::validParams()
      17             : {
      18         560 :   auto params = IPHDGPrescribedFluxBC::validParams();
      19         560 :   params += NavierStokesStressIPHDGAssemblyHelper::validParams();
      20         560 :   params.addClassDescription("Implements a prescribed stress boundary condition for use with a "
      21             :                              "hybridized discretization of the Navier-Stokes equation");
      22         560 :   return params;
      23           0 : }
      24             : 
      25         280 : NavierStokesStressIPHDGPrescribedTractionBC::NavierStokesStressIPHDGPrescribedTractionBC(
      26         280 :     const InputParameters & parameters)
      27             :   : IPHDGPrescribedFluxBC(parameters),
      28         560 :     _iphdg_helper(std::make_unique<NavierStokesStressIPHDGAssemblyHelper>(
      29         280 :         this, this, this, _mesh, _sys, _assembly, _tid, std::set<SubdomainID>{}, boundaryIDs()))
      30             : {
      31         280 : }

Generated by: LCOV version 1.14