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 "IPHDGPrescribedFluxBC.h" 13 : 14 : /** 15 : * Implements a prescribed advective flux boundary condition for use with a hybridized 16 : * discretization of an advection term. This BC may most often be used to prescribe zero advective 17 : * flux conditions at wall-type boundaries but it could also be used to prescribe inlet advective 18 : * fluxes 19 : */ 20 : class AdvectionIPHDGPrescribedFluxBC : public IPHDGPrescribedFluxBC 21 : { 22 : public: 23 : static InputParameters validParams(); 24 : AdvectionIPHDGPrescribedFluxBC(const InputParameters & parameters); 25 : 26 : protected: 27 134476 : virtual IPHDGAssemblyHelper & iphdgHelper() override { return *_iphdg_helper; } 28 : 29 : /// The assembly helper providing the required IP-HDG method implementations 30 : std::unique_ptr<AdvectionIPHDGAssemblyHelper> _iphdg_helper; 31 : };