File kernel/src/modelingTools/NSLawMatrix.hpp

Go to the source code of this file

Base (abstract) class for a symmetric matrix of nonsmooth laws.

class NSLawMatrix : public boost::numeric::ublas::symmetric_matrix<SP::NonSmoothLaw>
#include <NSLawMatrix.hpp>

This class uses (extends) a symmetric matrix to store NonSmoothLaws associated to pairs of integers.

It can be used e.g. to maintain a list of non-smooth laws associated with contact between types of objects.

Public Functions

NSLawMatrix(NSLawMatrix::size_type i = 1)

Protected Functions


serialization hooks