SOFA API  1a4bb3e7
Open source framework for multi-physics simuation
sofa::component::linearsystem::CheckNoChangeInInsertionOrder Struct Reference

Check that the incoming rows and columns are expected by the constant sparsity pattern. More...

Inheritance diagram for sofa::component::linearsystem::CheckNoChangeInInsertionOrder:

Detailed Description

Check that the incoming rows and columns are expected by the constant sparsity pattern.

Public Attributes

sofa::core::objectmodel::BaseObjectm_messageComponent { nullptr }
 
sofa::type::vector< std::pair< Row, Col > > pairInsertionOrderList
 list of expected rows and columns More...
 
std::size_t * currentId { nullptr }
 

Public Member Functions

helper::logging::MessageDispatcher::LoggerStream logger () const
 
bool checkRowColIndices (const sofa::SignedIndex row, const sofa::SignedIndex col) override
 
- Public Member Functions inherited from sofa::core::matrixaccumulator::IndexVerificationStrategy
virtual ~IndexVerificationStrategy ()=default
 

Attribute details

◆ currentId

std::size_t* sofa::component::linearsystem::CheckNoChangeInInsertionOrder::currentId { nullptr }

◆ m_messageComponent

sofa::core::objectmodel::BaseObject* sofa::component::linearsystem::CheckNoChangeInInsertionOrder::m_messageComponent { nullptr }

◆ pairInsertionOrderList

sofa::type::vector<std::pair<Row, Col> > sofa::component::linearsystem::CheckNoChangeInInsertionOrder::pairInsertionOrderList

list of expected rows and columns

Function details

◆ checkRowColIndices()

bool sofa::component::linearsystem::CheckNoChangeInInsertionOrder::checkRowColIndices ( const sofa::SignedIndex  row,
const sofa::SignedIndex  col 
)
inlineoverridevirtual

◆ logger()

helper::logging::MessageDispatcher::LoggerStream sofa::component::linearsystem::CheckNoChangeInInsertionOrder::logger ( ) const
inline