#include <MatrixLinearSystem.h>
Define how zero Dirichlet boundary conditions are applied on the global matrix
Public Attributes | |
sofa::type::Vec2u | m_offset |
TMatrix * | m_globalMatrix { nullptr } |
The matrix to apply a zero Dirichlet boundary condition. More... | |
Public Member Functions | |
~Dirichlet () override=default | |
void | discardRowCol (sofa::Index row, sofa::Index col) override |
![]() | |
virtual | ~ZeroDirichletCondition ()=default |
TMatrix* sofa::component::linearsystem::MatrixLinearSystem< TMatrix, TVector >::Dirichlet::m_globalMatrix { nullptr } |
The matrix to apply a zero Dirichlet boundary condition.
sofa::type::Vec2u sofa::component::linearsystem::MatrixLinearSystem< TMatrix, TVector >::Dirichlet::m_offset |
|
overridedefault |
|
overridevirtual |
Zero out a row and a column of a matrix. The element at the intersection of the row and the column is set to 1.
Reimplemented from sofa::core::behavior::ZeroDirichletCondition.