SOFA API  59c939c2
Open source framework for multi-physics simuation
sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef Class Reference

#include <MultiMatrixAccessor.h>

Simple structure holding a reference to the submatrix related to the interactions between two MechanicalStates. More...

Detailed Description

Simple structure holding a reference to the submatrix related to the interactions between two MechanicalStates.

Public Attributes

defaulttype::BaseMatrixmatrix
 
unsigned int offRow
 
unsigned int offCol
 

Public Member Functions

 InteractionMatrixRef ()
 
defaulttype::BaseMatrixoperator-> () const
 
bool operator! () const
 
 operator bool () const
 
void operator= (const InteractionMatrixRef &b)
 

Attribute details

defaulttype::BaseMatrix* sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::matrix
unsigned int sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::offCol
unsigned int sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::offRow

Constructor details

sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::InteractionMatrixRef ( )
inline

Function details

sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::operator bool ( ) const
inline
bool sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::operator! ( ) const
inline
defaulttype::BaseMatrix* sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::operator-> ( ) const
inline
void sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::operator= ( const InteractionMatrixRef b)
inline