https://mooseframework.inl.gov
MassContinuityIPHDGBC.C
Go to the documentation of this file.
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"
12 
13 registerMooseObject("NavierStokesApp", MassContinuityIPHDGBC);
14 
17 {
18  auto params = IPHDGBC::validParams();
19  params.addClassDescription("Adds to mass conservation terms on boundary faces");
21  return params;
22 }
23 
25  : IPHDGBC(parameters),
26  _iphdg_helper(std::make_unique<MassContinuityAssemblyHelper>(
27  this, this, this, _mesh, _sys, _assembly, _tid, std::set<SubdomainID>{}, boundaryIDs()))
28 {
29 }
30 
31 void
33 {
34  _iphdg_helper->resizeResiduals();
35  _iphdg_helper->scalarFace();
36  _iphdg_helper->lmFace();
37 }
std::unique_ptr< MassContinuityAssemblyHelper > _iphdg_helper
The assembly helper providing the required IP-HDG method implementations.
static InputParameters validParams()
Implements all the methods for assembling a hybridized interior penalty discontinuous Galerkin (IPDG-...
static InputParameters validParams()
Applies a Dirichlet value for velocity to mass conservation terms on boundary faces.
virtual void compute() override
MassContinuityIPHDGBC(const InputParameters &parameters)
registerMooseObject("NavierStokesApp", MassContinuityIPHDGBC)