30 iphdg_helper.resizeResiduals();
31 iphdg_helper.scalarVolume();
38 iphdg_helper.resizeResiduals();
39 iphdg_helper.scalarFace();
40 iphdg_helper.lmFace();
47 for (
const auto & residual_packet :
iphdgHelper().taggingData())
55 for (
const auto & residual_packet :
iphdgHelper().taggingData())
63 for (
const auto & residual_packet :
iphdgHelper().taggingData())
71 for (
const auto & residual_packet :
iphdgHelper().taggingData())
79 for (
const auto & residual_packet :
iphdgHelper().taggingData())
87 for (
const auto & residual_packet :
iphdgHelper().taggingData())
107 std::set<std::string>
113 const std::unordered_set<unsigned int> &
virtual const std::unordered_set< unsigned int > & getMatPropDependencies() const
Retrieve the set of material properties that this object depends on.
void computeOnSide()
compute the AD residuals on the element sides
A kernel for hybridized finite element formulations.
const Elem * _cached_elem
A data member used for determining when to compute the Jacobian.
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...
virtual void computeResidual() override
Compute this Kernel's contribution to the residual.
IPHDGKernel(const InputParameters ¶ms)
void compute()
compute the AD residuals on the element interior
virtual const std::unordered_set< unsigned int > & getMatPropDependencies() const override
Retrieve the set of material properties that this object depends on.
virtual void computeOffDiagJacobian(unsigned int jvar) override
Forwards to computeJacobian() the first time this is called for a given element.
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.
virtual void computeResidualAndJacobian() override
Compute the residual and Jacobian together.
static InputParameters validParams()
The following methods are specializations for using the libMesh::Parallel::packed_range_* routines fo...
virtual void computeJacobianOnSide() override
virtual IPHDGAssemblyHelper & iphdgHelper()=0
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.
Assembly & _assembly
Reference to this Kernel's assembly object.
std::set< std::string > additionalROVariables()
virtual std::set< std::string > additionalROVariables() override
const Elem *const & _current_elem
Current element.
virtual void computeResidualAndJacobianOnSide() override
virtual void computeJacobian() override
Compute this object's entire element interior Jacobian, both on- and off-diagonal.
static InputParameters validParams()
virtual void jacobianSetup() override
Gets called just before the Jacobian is computed and before this object is asked to do its job...
virtual void computeResidualOnSide() override