https://mooseframework.inl.gov
Public Attributes | List of all members
ADResidualsPacket Struct Reference

Utility structure for packaging up all of the residual object's information needed to add into the system residual and Jacobian in the context of automatic differentiation. More...

#include <TaggingInterface.h>

Public Attributes

const DenseVector< ADReal > & residuals
 
const std::vector< dof_id_type > & dof_indices
 
const Real scaling_factor
 

Detailed Description

Utility structure for packaging up all of the residual object's information needed to add into the system residual and Jacobian in the context of automatic differentiation.

The necessary information includes the vector of residuals and Jacobians represented by dual numbers, the vector of degrees of freedom (this should be the same length as the vector of dual numbers), and a scaling factor that will multiply the dual numbers before their addition into the global residual and Jacobian

Definition at line 41 of file TaggingInterface.h.

Member Data Documentation

◆ dof_indices

const std::vector<dof_id_type>& ADResidualsPacket::dof_indices

◆ residuals

const DenseVector<ADReal>& ADResidualsPacket::residuals

◆ scaling_factor

const Real ADResidualsPacket::scaling_factor

The documentation for this struct was generated from the following file: