siconos.kernel.MixedComplementarityConditionNSL (Python class)

class siconos.kernel.MixedComplementarityConditionNSL(newSize: unsigned int, equalitySize: unsigned int)[source]

Bases: siconos.kernel.NonSmoothLaw

Complementarity NonSmoothLaw.

Generated class (swig), based on C++ header Program listing for file kernel/src/modelingTools/MixedComplementarityConditionNSL.hpp.


MixedComplementarityConditionNSL(int newSize, int equalitySize)

basic constructor

  • newSize – size of the non smooth law
  • equalitySize – size of the equality relation
display() → None[source]

print the data to the screen

equalitySize() → int[source]

get the number of equality present in the MLCP

Returns:an unsigned int