30 for (
const auto & residual_packet : helper.taggingData())
39 for (
const auto & residual_packet : helper.taggingData())
48 for (
const auto & residual_packet : helper.taggingData())
70const std::unordered_set<unsigned int> &
Base class for deriving any boundary condition of a integrated type.
static InputParameters validParams()
unsigned int _cached_side
Side for which the complete AD Jacobian was most recently assembled.
virtual void compute(ElementAndTraceScalarHDGAssemblyHelper &helper)=0
Computes the boundary residual data using the supplied assembly helper.
virtual void computeResidual() override
Compute this object's contribution to the residual.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Computes this object's contribution to off-diagonal blocks of the system Jacobian matrix.
virtual ElementAndTraceScalarHDGAssemblyHelper & hdgHelper()=0
Returns the helper used for common element-and-trace scalar HDG assembly.
virtual void computeResidualAndJacobian() override
Compute this object's contribution to the residual and Jacobian simultaneously.
const Elem * _cached_elem
Element for which the complete AD Jacobian was most recently assembled.
virtual bool getMaterialPropertyCalled() const override
Returns true if getMaterialProperty() has been called, false otherwise.
ElementAndTraceScalarHDGBC(const InputParameters ¶meters)
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job.
virtual const std::unordered_set< unsigned int > & getMatPropDependencies() const override
Retrieve the set of material properties that this object depends on.
static InputParameters validParams()
virtual void computeJacobian() override
Compute this object's contribution to the diagonal Jacobian entries.
const unsigned int & _current_side
current side of the current element
const Elem *const & _current_elem
current element
virtual bool getMaterialPropertyCalled() const
Returns true if getMaterialProperty() has been called, false otherwise.
virtual const std::unordered_set< unsigned int > & getMatPropDependencies() const
Retrieve the set of material properties that this object depends on.
Assembly & _assembly
Reference to this Kernel's assembly object.
void addJacobian(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)
Add the provided residual derivatives into the Jacobian for the provided dof indices.
void addResidualsAndJacobian(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)
Add the provided incoming residuals and derivatives for the Jacobian, corresponding to the provided d...
void addResiduals(Assembly &assembly, const Residuals &residuals, const Indices &dof_indices, Real scaling_factor)
Add the provided incoming residuals corresponding to the provided dof indices.
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
const unsigned int invalid_uint