Loading [MathJax]/extensions/tex2jax.js
https://mooseframework.inl.gov
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
DiffusionLHDGPrescribedGradientBC.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 "IntegratedBC.h"
14 
20 {
21 public:
23 
25 
26  virtual void computeResidual() override;
27  virtual void computeJacobian() override;
28  virtual void computeOffDiagJacobian(unsigned int jvar) override;
29  virtual void jacobianSetup() override;
30  virtual void initialSetup() override;
31 
32 protected:
33  virtual Real computeQpResidual() override { mooseError("this will never be called"); }
34 
38 
40  unsigned int _cached_side;
41 };
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...
virtual void initialSetup() override
Gets called at the beginning of the simulation before this object is asked to do its job...
Implements a fixed normal gradient boundary condition for use with a hybridized discretization of the...
virtual void computeResidual() override
Compute this object's contribution to the residual.
Implements all the methods for assembling a hybridized local discontinuous Galerkin (LDG-H)...
virtual void computeOffDiagJacobian(unsigned int jvar) override
Computes d-ivar-residual / d-jvar...
Base class for deriving any boundary condition of a integrated type.
Definition: IntegratedBC.h:18
const Moose::Functor< Real > & _normal_gradient
Prescribed normal gradient along the boundary.
DIE A HORRIBLE DEATH HERE typedef LIBMESH_DEFAULT_SCALAR_TYPE Real
virtual Real computeQpResidual() override
Method for computing the residual at quadrature points.
DiffusionLHDGPrescribedGradientBC(const InputParameters &parameters)
void mooseError(Args &&... args) const
Emits an error prefixed with object name and type.
const InputParameters & parameters() const
Get the parameters of the object.
unsigned int _cached_side
A cache variable to prevent multiple computations of Jacobians.
virtual void computeJacobian() override
Compute this object&#39;s contribution to the diagonal Jacobian entries.
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job...