Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A matrix and df_dx #2

Open
GoogleCodeExporter opened this issue Mar 14, 2015 · 7 comments
Open

A matrix and df_dx #2

GoogleCodeExporter opened this issue Mar 14, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

Hi, 

First of all, I would like to thank you for your open source. 

While I was looking at your code, I got some questions regarding A matrix and 
df_dx in implicit solver. 

In you code, number of non-zero elements in A matrix is always equal to the 
total number vertices(total_points). I believe it should have more non-zero 
elements. 

In terms of Jacobian matrix df_dx, let's say Kij is an element of Jacobian 
matrix and Kij = df_i / dx_j (i, j are vertex indices). The element of Jacobian 
matrix becomes non-zero when vertex i and j are linked by an edge(spring). In 
case i == j, Kii is always non-zero and Kii = -sum of Kij where j is linked to 
i and j != i. 

Implicit solver is supposed to handle very large stiffness such as 10^4 with 
natural gravity value.

Thank you.

Original issue reported on code.google.com by [email protected] on 21 Mar 2012 at 5:32

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant