SOFA API  b0896a42
Open source framework for multi-physics simuation
sofa::component::mapping::nonlinear::DistanceMapping< TIn, TOut >::JacobianEntry Struct Reference

#include <DistanceMapping.h>

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

Detailed Description

template<class TIn, class TOut>
struct sofa::component::mapping::nonlinear::DistanceMapping< TIn, TOut >::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
 
Direction jacobianValue
 

Public Member Functions

bool operator< (const JacobianEntry &other) const
 

Attribute details

◆ jacobianValue

template<class TIn , class TOut >
Direction sofa::component::mapping::nonlinear::DistanceMapping< TIn, TOut >::JacobianEntry::jacobianValue

◆ vertexId

template<class TIn , class TOut >
sofa::Index sofa::component::mapping::nonlinear::DistanceMapping< TIn, TOut >::JacobianEntry::vertexId

Function details

◆ operator<()

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