https://mooseframework.inl.gov
Loading...
Searching...
No Matches
IPHDGDirichletBC.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 "IPHDGDirichletBC.h"
12
15{
17 params.addRequiredParam<MooseFunctorName>("functor",
18 "The Dirichlet value for the primal variable");
19 return params;
20}
21
23 : ElementAndTraceScalarHDGBC(params), _dirichlet_val(getFunctor<Real>("functor"))
24{
25}
26
27void
Method-neutral assembly data and operations for an element-and-trace scalar hybridized DG discretizat...
void lmDirichlet(const Moose::Functor< Real > &dirichlet_value)
Enforces a Dirichlet value in the facet equation.
void resizeResiduals()
Resizes the element-interior and facet residual vectors for the current element.
virtual void scalarDirichlet(const Moose::Functor< Real > &dirichlet_value)=0
Assembles the element-interior equation on a Dirichlet boundary.
Base boundary condition for element-and-trace scalar hybridized DG discretizations assembled with aut...
static InputParameters validParams()
IPHDGDirichletBC(const InputParameters &parameters)
virtual void compute(ElementAndTraceScalarHDGAssemblyHelper &helper) override
compute the AD residuals
static InputParameters validParams()
const Moose::Functor< Real > & _dirichlet_val
Functor computing the Dirichlet boundary value.
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.