Skip to content

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

@yopi1838

Description

@yopi1838

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions