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 logic behind Line 91 to 100 on ModalAnalysis.py #4

Open
yopi1838 opened this issue Mar 5, 2024 · 0 comments
Open

The logic behind Line 91 to 100 on ModalAnalysis.py #4

yopi1838 opened this issue Mar 5, 2024 · 0 comments

Comments

@yopi1838
Copy link

yopi1838 commented Mar 5, 2024

Hi!

Thank you again for the very nice contribution.
I'm trying to implement the ModalAnalysis script for my specific software, and I cannot wrap my head around the loop from line 91 to 100.
I suppose the value of temp in Line 95 would be from 1 to 6, depending on the DOF numbering?

Wouldn't the if condition from Line 96 be run only once when the DOFs list is empty, i.e. the condition will only run on the first node in op.getNodeTags() and the ldict influence vectors will only be 1 at the first node?

I would really appreciate it if you could clarify this.

Thank you so much for your time.

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