SOFA API  83276a98
Open source framework for multi-physics simuation
sofa::component::mapping::nonlinear::BaseNonLinearMapping< TIn, TOut, HasStabilizedGeometricStiffness >::JacobianEntry Struct Reference

#include <BaseNonLinearMapping.h>

Represents an entry in the Jacobian matrix. More...

Detailed Description

template<class TIn, class TOut, bool HasStabilizedGeometricStiffness>
struct sofa::component::mapping::nonlinear::BaseNonLinearMapping< TIn, TOut, HasStabilizedGeometricStiffness >::JacobianEntry

Represents an entry in the Jacobian matrix.

The JacobianEntry struct is used to store information about an entry in the Jacobian matrix, specifically the vertex identifier and the corresponding Jacobian value. It also provides a comparison operator for sorting entries by vertex ID.

Public Attributes

sofa::Index vertexId
 
In::CPos jacobianValue
 

Public Member Functions

bool operator< (const JacobianEntry &other) const
 

Attribute details

◆ jacobianValue

template<class TIn , class TOut , bool HasStabilizedGeometricStiffness>
In::CPos sofa::component::mapping::nonlinear::BaseNonLinearMapping< TIn, TOut, HasStabilizedGeometricStiffness >::JacobianEntry::jacobianValue

◆ vertexId

template<class TIn , class TOut , bool HasStabilizedGeometricStiffness>
sofa::Index sofa::component::mapping::nonlinear::BaseNonLinearMapping< TIn, TOut, HasStabilizedGeometricStiffness >::JacobianEntry::vertexId

Function details

◆ operator<()

template<class TIn , class TOut , bool HasStabilizedGeometricStiffness>
bool sofa::component::mapping::nonlinear::BaseNonLinearMapping< TIn, TOut, HasStabilizedGeometricStiffness >::JacobianEntry::operator< ( const JacobianEntry other) const
inline