https://mooseframework.inl.gov
Loading...
Searching...
No Matches
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
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
33{
34 return _face_velocity[qp];
35}
unsigned int THREAD_ID
Definition MooseTypes.h:237
Shared assembly for element-and-trace scalar hybridized DG discretizations of the advection equation.
static InputParameters validParams()
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)
virtual ADRealVectorValue faceVelocity(unsigned int qp) const override
const ADMaterialProperty< RealVectorValue > & _face_velocity
Face evaluation of the H(div)-conforming cell velocity.
Keeps track of stuff related to assembling.
Definition Assembly.h:110
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
Every object that can be built by the factory should be derived from this class.
Definition MooseObject.h:31
Base class for a system (of equations)
Definition SystemBase.h:87
Interface for objects that needs transient capabilities.