Hi,

I am trying to create my own strategy for the contact computation. The only difference respect the ResidualBasedNewtonRaphsonStrategy will be the use of the predict to be able to compute the ACTIVE/INACTIVE set, for that I tried to derive it from ResidualBasedNewtonRaphsonStrategy. The problem is that the original Newton Raphson has not any virtual method, which means that right now basically I copy paste the original. This is not the correct way to implement a strategy which is almost equal to the original one.

My question is if we avoid the virtual methods for performance reasons or it is just that in that moment nobody thought about the possibility of derive the strategy. If performance is not a problem for me will be very useful to derive my strategy from the one in the core. Otherwise, any recommendation for avoid as much as possible the copy paste of the code?

Best regards