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 "MassContinuityIPHDGBC.h" 11 : #include "MassContinuityAssemblyHelper.h" 12 : 13 : registerMooseObject("NavierStokesApp", MassContinuityIPHDGBC); 14 : 15 : InputParameters 16 1534 : MassContinuityIPHDGBC::validParams() 17 : { 18 1534 : auto params = IPHDGBC::validParams(); 19 1534 : params.addClassDescription("Adds to mass conservation terms on boundary faces"); 20 1534 : params += MassContinuityAssemblyHelper::validParams(); 21 1534 : return params; 22 0 : } 23 : 24 772 : MassContinuityIPHDGBC::MassContinuityIPHDGBC(const InputParameters & parameters) 25 : : IPHDGBC(parameters), 26 1544 : _iphdg_helper(std::make_unique<MassContinuityAssemblyHelper>( 27 772 : this, this, this, _mesh, _sys, _assembly, _tid, std::set<SubdomainID>{}, boundaryIDs())) 28 : { 29 772 : } 30 : 31 : void 32 93670 : MassContinuityIPHDGBC::compute() 33 : { 34 93670 : _iphdg_helper->resizeResiduals(); 35 93670 : _iphdg_helper->scalarFace(); 36 93670 : _iphdg_helper->lmFace(); 37 93670 : }