dilevin / computer-graphics-mass-spring-systems

Computer Graphics Assignment – Mass Spring Systems
1 stars 3 forks source link

regarding to the auxiliary matrices in sparse implementation #15

Closed koichishi closed 4 years ago

koichishi commented 4 years ago

Since the calculations of the auxiliary "d" and "y" in fast_mass_springs_step_sparse.cpp involves normal(dense) matrix, should we just assume these are dense matrices and keep this file the same as fast_mass_springs_step_dense.cpp?

abhimadan commented 4 years ago

Try it out and see if it works :)

koichishi commented 4 years ago

Thank you. It does work but I am not sure if there is a faster way of doing it...

abhimadan commented 4 years ago

If the skirt and flag examples are significantly faster than they would be using your dense code, then you should be fine.