public void Add(SolverUpdateable item)
{
if (item.Solver == null)
{
item.Solver = this;
item.solverIndex = solverUpdateables.Count;
solverUpdateables.Add(item);
DeactivationManager.Add(item.simulationIslandConnection);
item.OnAdditionToSolver(this);
}
else
throw new ArgumentException("Solver updateable already belongs to something; it can't be added.", "item");
}
///<summary>