File kernel/src/simulationTools/Equality.hpp

Go to the source code of this file

Linear Complementarity Problem formulation and solving.

class Equality : public LinearOSNS
#include <Equality.hpp>

Formalization and Resolution of a Linear Complementarity Problem (Equality)

Public Functions

Equality(int numericsSolverId = 0)

constructor

Parameters
  • numericsSolverId: int id of numerics solver

~Equality()

destructor

int compute(double time)

Compute the unknown z and w and update the Interaction (y and lambda )

Return
int information about the solver convergence.
Parameters
  • time: double : current time

void display() const

print the data to the screen

void initialize(SP::Simulation sim)

initialize

Parameters
  • sim: the simulation

virtual void updateM()

Build or reinit M and the NumericsProblem.

Private Functions

ACCEPT_SERIALIZATION(Equality)

serialization hooks