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 "MassContinuityAssemblyHelper.h" 11 : #include "MassContinuityIPHDGKernel.h" 12 : 13 : registerMooseObject("NavierStokesApp", MassContinuityIPHDGKernel); 14 : 15 : InputParameters 16 1071 : MassContinuityIPHDGKernel::validParams() 17 : { 18 1071 : auto params = IPHDGKernel::validParams(); 19 1071 : params += MassContinuityAssemblyHelper::validParams(); 20 1071 : params.addClassDescription("Adds element and interior face integrals for a hybridized interior " 21 : "penalty discontinuous Galerkin discretization of a conservation of " 22 : "mass term for incompressible Navier-Stokes."); 23 1071 : return params; 24 0 : } 25 : 26 538 : MassContinuityIPHDGKernel::MassContinuityIPHDGKernel(const InputParameters & params) 27 : : IPHDGKernel(params), 28 538 : _iphdg_helper(std::make_unique<MassContinuityAssemblyHelper>( 29 538 : this, this, this, _mesh, _sys, _assembly, _tid, blockIDs(), std::set<BoundaryID>{})) 30 : { 31 538 : } 32 : 33 : IPHDGAssemblyHelper & 34 14980973 : MassContinuityIPHDGKernel::iphdgHelper() 35 : { 36 14980973 : return *_iphdg_helper; 37 : }