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

the index calculation in mpm_fan_rotation.py #1

Open
commatrixs opened this issue Jul 23, 2024 · 0 comments
Open

the index calculation in mpm_fan_rotation.py #1

commatrixs opened this issue Jul 23, 2024 · 0 comments

Comments

@commatrixs
Copy link

hi zhijie,

Thanks for sharing your code! I noticed that the you use 'nn = (i+1)(j+1)-1' to calculation index at line 127 of the file 'mpm_fan_rotation.py'. I think this code can only partially fill matrices. For example, in the diagonal matrix, only the 1st, 2nd, 3rd, 4th, 6th, and 9th elements on the diagonal are updated. Maybe it should be modified to 'nn = i3 + j'

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

No branches or pull requests

1 participant