https://mooseframework.inl.gov
AdvectionLHDGAssemblyHelper.h
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 #pragma once
11 
13 #include "ADFunctorInterface.h"
14 
20 {
21 public:
23 
24  AdvectionLHDGAssemblyHelper(const MooseObject * moose_obj,
26  const TransientInterface * ti,
27  SystemBase & sys,
28  const Assembly & assembly,
29  THREAD_ID tid,
30  const std::set<SubdomainID> & block_ids,
31  const std::set<BoundaryID> & boundary_ids);
32 
34  void lmDirichletZero();
35 
36 protected:
37  virtual ADRealVectorValue faceVelocity(unsigned int qp) const override;
38 
41 };
void lmDirichletZero()
Constrains the unused L-HDG Dirichlet facet variable to zero.
AdvectionLHDGAssemblyHelper(const MooseObject *moose_obj, MooseVariableDependencyInterface *mvdi, const TransientInterface *ti, SystemBase &sys, const Assembly &assembly, THREAD_ID tid, const std::set< SubdomainID > &block_ids, const std::set< BoundaryID > &boundary_ids)
Supplies the L-HDG velocity-trace evaluation to the shared advection assembly used by both HDG kernel...
const Moose::Functor< ADRealVectorValue > & _velocity_trace
Velocity trace used in numerical face fluxes.
virtual ADRealVectorValue faceVelocity(unsigned int qp) const override
unsigned int THREAD_ID
static InputParameters validParams()