Simulation Scaling Problem
Closed this issue · 1 comments
cuix-github commented
Now we assume the simulation has the width as of 1.0f. We can find many places we use 1.0f / resolution.x to calculate differential displacement. Now we want a more generic case which requires user to give the input width. Then we calculate the differential displacement by width / resolution.x
cuix-github commented
One thing needs to be aware of is the expression 1.0f / resolution.x is everywhere in the code base, this may need a intensive work to replace all of them once to avoid potential crash