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

Bug fix for generate_full_structure #306

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions sharpy/utils/generate_cases.py
Original file line number Diff line number Diff line change
Expand Up @@ -531,12 +531,12 @@ def generate_full_structure(self,
self.beam_number = beam_number
self.body_number = np.zeros((num_elem,), dtype=int)
self.app_forces = app_forces
if isinstance(self.lumped_mass_nodes, np.ndarray):
if isinstance(lumped_mass_nodes, np.ndarray):
self.lumped_mass_nodes = lumped_mass_nodes
self.lumped_mass = lumped_mass
self.lumped_mass_inertia = lumped_mass_inertia
self.lumped_mass_position = lumped_mass_position
if isinstance(self.lumped_mass_mat_nodes, np.ndarray):
if isinstance(lumped_mass_mat_nodes, np.ndarray):
self.lumped_mass_mat_nodes = lumped_mass_mat_nodes
self.lumped_mass_mat = lumped_mass_mat

Expand Down
Loading