25 params.addRequiredParam<MaterialPropertyName>(
"diffusivity",
"The diffusivity");
26 params.addParam<
Real>(
"alpha",
28 "The stabilization coefficient required for discontinuous Galerkin " 40 const std::set<SubdomainID> & block_ids,
41 const std::set<BoundaryID> & boundary_ids)
43 _diff(this->getADMaterialProperty<
Real>(
"diffusivity")),
44 _face_diff(this->getFaceADMaterialProperty<
Real>(
"diffusivity")),
45 _alpha(moose_obj->getParam<
Real>(
"alpha"))
96 const auto scalar_value = dirichlet_value(
const ADMaterialProperty< Real > & _diff
The diffusivity in the element volume.
DenseVector< ADReal > _scalar_re
Keeps track of stuff related to assembling.
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...
DenseVector< ADReal > _lm_re
const MooseArray< ADRealVectorValue > & _grad_u_sol
const unsigned int & _ip_current_side
The current element side.
const MooseArray< std::vector< RealVectorValue > > & _grad_scalar_phi
Moose::StateArg determineState() const
Create a functor state argument that corresponds to the implicit state of this object.
This is a wrapper that forwards calls to the implementation, which can be switched out at any time wi...
const MooseArray< std::vector< Real > > & _lm_phi_face
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
Base class for a system (of equations)
const QBase *const & _ip_qrule_face
The face qrule.
const TransientInterface & _ti
const Elem *const & _ip_current_elem
The current element.
const MooseArray< Real > & _ip_JxW
The element JxW.
Base class that declares all the methods for assembling a hybridized interior penalty discontinuous G...
const std::vector< dof_id_type > & _u_dof_indices
Interface for objects that needs transient capabilities.
Every object that can be built by the factory should be derived from this class.
const MooseArray< Point > & _ip_normals
The normal vector on the face.
const QBase *const & _ip_qrule
The element qrule.
const MooseArray< Point > & _ip_q_point_face
The physical quadrature point locations on the face.
const Real & _elem_volume
The current element volume.
unsigned int n_points() const
const ADMaterialProperty< Real > & _face_diff
The diffusivity on the element faces.
const MooseArray< ADReal > & _lm_u_sol
static InputParameters validParams()
const Real & _side_area
The current element side area.
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...
const MooseArray< ADReal > & _u_sol
const MooseArray< Real > & _ip_JxW_face
The face JxW.
const MooseArray< std::vector< Real > > & _scalar_phi_face
IntRange< T > make_range(T beg, T end)
const MooseArray< std::vector< RealVectorValue > > & _grad_scalar_phi_face
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.
static InputParameters validParams()
auto index_range(const T &sizable)
Argument for requesting functor evaluation at quadrature point locations on an element side...