https://mooseframework.inl.gov
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 
12 #include "IPHDGAssemblyHelper.h"
13 
20 {
21 public:
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 
33 protected:
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 
66  const Real _alpha;
67 };
const ADMaterialProperty< Real > & _diff
The diffusivity in the element volume.
Keeps track of stuff related to assembling.
Definition: Assembly.h:101
const Real _alpha
Our stabilization coefficient.
virtual void scalarVolume() override
Computes a local residual vector for the weak form: (Dq, grad(w)) - (f, w) where D is the diffusivity...
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
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:84
Base class that declares all the methods for assembling a hybridized interior penalty discontinuous G...
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
const ADMaterialProperty< Real > & _face_diff
The diffusivity on the element faces.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual void lmFace() override
Computes a local residual vector for the weak form: -<Dq*n, > + < * (u - {u}) * n * n...
DiffusionIPHDGAssemblyHelper(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 void scalarFace() override
Computes a local residual vector for the weak form: -<Dq*n, w> + < * (u - {u}) * n * n...
virtual void scalarDirichlet(const Moose::Functor< Real > &dirichlet_value) override
Weakly imposes a Dirichlet condition for the scalar field in the scalar field equation.
Implements all the methods for assembling a hybridized interior penalty discontinuous Galerkin (IPDG-...
unsigned int THREAD_ID
Definition: MooseTypes.h:209