https://mooseframework.inl.gov
AdvectionIPHDGAssemblyHelper.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 
13 {
15 }
16 
18  const MooseObject * const moose_obj,
20  const TransientInterface * const ti,
21  SystemBase & sys,
22  const Assembly & assembly,
23  const THREAD_ID tid,
24  const std::set<SubdomainID> & block_ids,
25  const std::set<BoundaryID> & boundary_ids)
26  : AdvectionHDGAssemblyHelper(moose_obj, mvdi, ti, sys, assembly, tid, block_ids, boundary_ids),
27  _face_velocity(getFaceADMaterialProperty<RealVectorValue>("velocity"))
28 {
29 }
30 
32 AdvectionIPHDGAssemblyHelper::faceVelocity(const unsigned int qp) const
33 {
34  return _face_velocity[qp];
35 }
Keeps track of stuff related to assembling.
Definition: Assembly.h:109
static InputParameters validParams()
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system...
Base class for a system (of equations)
Definition: SystemBase.h:85
Interface for objects that needs transient capabilities.
Every object that can be built by the factory should be derived from this class.
Definition: MooseObject.h:28
virtual ADRealVectorValue faceVelocity(unsigned int qp) const override
AdvectionIPHDGAssemblyHelper(const MooseObject *const moose_obj, MooseVariableDependencyInterface *const mvdi, const TransientInterface *const ti, SystemBase &sys, const Assembly &assembly, const THREAD_ID tid, const std::set< SubdomainID > &block_ids, const std::set< BoundaryID > &boundary_ids)
const ADMaterialProperty< RealVectorValue > & _face_velocity
Face evaluation of the H(div)-conforming cell velocity.
Shared assembly for element-and-trace scalar hybridized DG discretizations of the advection equation...
unsigned int THREAD_ID
Definition: MooseTypes.h:237