Shimi Smith
Shimi Smith
I'm running in release mode and even the flag is still quite slow. It's pretty far from being a smooth animation.
Thanks for the suggestions. Unfortunately, I'm not converting any dense matrices to sparse.
In case by some absurd chance someone has the same problem as me. It was because I was putting the formula that evaluates to b straight into the .solve(...) but...
Sorry for taking a while to get back to you about this. Initially I had, Unext = prefactorization.solve(k*A.transpose()*d + (1/(delta_t*delta_t))*M*(2*Ucur - Uprev) + fext + 1e10*C.transpose()*C*V); and it was running...