SOFA API  fdacdac3
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

linearalgebra::BaseMatrixmatrix
 
unsigned int offRow
 
unsigned int offCol
 

Public Member Functions

 InteractionMatrixRef ()
 
constexpr InteractionMatrixRef (const InteractionMatrixRef &other)=default
 
linearalgebra::BaseMatrixoperator-> () const
 
bool operator! () const
 
 operator bool () const
 
void operator= (const InteractionMatrixRef &b)
 

Attribute details

◆ matrix

linearalgebra::BaseMatrix* sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::matrix

◆ offCol

unsigned int sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::offCol

◆ offRow

unsigned int sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::offRow

Constructor details

◆ InteractionMatrixRef() [1/2]

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

◆ InteractionMatrixRef() [2/2]

constexpr sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::InteractionMatrixRef ( const InteractionMatrixRef other)
constexprdefault

Function details

◆ operator bool()

sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::operator bool ( ) const
inline

◆ operator!()

bool sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::operator! ( ) const
inline

◆ operator->()

linearalgebra::BaseMatrix* sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::operator-> ( ) const
inline

◆ operator=()

void sofa::core::behavior::MultiMatrixAccessor::InteractionMatrixRef::operator= ( const InteractionMatrixRef b)
inline