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 |
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.
const std::vector<dof_id_type>& ADResidualsPacket::dof_indices |
Definition at line 44 of file TaggingInterface.h.
Referenced by TaggingInterface::addJacobian(), TaggingInterface::addResiduals(), and TaggingInterface::addResidualsAndJacobian().
const DenseVector<ADReal>& ADResidualsPacket::residuals |
Definition at line 43 of file TaggingInterface.h.
Referenced by TaggingInterface::addJacobian(), TaggingInterface::addResiduals(), and TaggingInterface::addResidualsAndJacobian().
const Real ADResidualsPacket::scaling_factor |
Definition at line 45 of file TaggingInterface.h.
Referenced by TaggingInterface::addJacobian(), TaggingInterface::addResiduals(), and TaggingInterface::addResidualsAndJacobian().