https://mooseframework.inl.gov
Loading...
Searching...
No Matches
DiffusionIPHDGAssemblyHelper.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
20{
21public:
23
24 DiffusionIPHDGAssemblyHelper(const MooseObject * const moose_obj,
26 const TransientInterface * const ti,
27 SystemBase & sys,
28 const Assembly & assembly,
29 const THREAD_ID tid,
30 const std::set<SubdomainID> & block_ids,
31 const std::set<BoundaryID> & boundary_ids);
32
33protected:
40 virtual void scalarVolume() override;
41
46 virtual void scalarFace() override;
47
52 virtual void lmFace() override;
53
57 virtual void scalarDirichlet(const Moose::Functor<Real> & dirichlet_value) override;
58
61
64
67
70
72 const Real _alpha;
73};
unsigned int THREAD_ID
Definition MooseTypes.h:237
Keeps track of stuff related to assembling.
Definition Assembly.h:110
Implements all the methods for assembling a hybridized interior penalty discontinuous Galerkin (IPDG-...
const MooseArray< ADRealVectorValue > & _grad_u_sol
Element-interior scalar gradients at quadrature points.
virtual void scalarDirichlet(const Moose::Functor< Real > &dirichlet_value) override
Weakly imposes a Dirichlet condition for the scalar field in the scalar field equation.
const MooseArray< std::vector< RealVectorValue > > & _grad_scalar_phi_face
Element-interior scalar test-function gradients evaluated on a face.
virtual void scalarVolume() override
Computes a local residual vector for the weak form: (Dq, grad(w)) - (f, w) where D is the diffusivity...
const Real _alpha
Our stabilization coefficient.
virtual void scalarFace() override
Computes a local residual vector for the weak form: -<Dq*n, w> + <\tau * (u - \hat{u}) * n * n,...
const ADMaterialProperty< Real > & _face_diff
The diffusivity on the element faces.
const ADMaterialProperty< Real > & _diff
The diffusivity in the element volume.
virtual void lmFace() override
Computes a local residual vector for the weak form: -<Dq*n, \mu> + <\tau * (u - \hat{u}) * n * n,...
Method-neutral assembly data and operations for an element-and-trace scalar hybridized DG discretizat...
The main MOOSE class responsible for handling user-defined parameters in almost every MOOSE system.
forward declarations
Definition MooseArray.h:18
Every object that can be built by the factory should be derived from this class.
Definition MooseObject.h:31
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
Base class for a system (of equations)
Definition SystemBase.h:87
Interface for objects that needs transient capabilities.