Skip to content

Commit

Permalink
Don't throw inclined roller error if angle is a multiple of 90 degrees
Browse files Browse the repository at this point in the history
  • Loading branch information
smith120bh committed Jan 12, 2023
1 parent 3605348 commit 678b6d5
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion anastruct/fem/system.py
Original file line number Diff line number Diff line change
Expand Up @@ -1027,7 +1027,10 @@ def point_load(

for i, node_idi in enumerate(node_id):
id_ = _negative_index_to_id(node_idi, self.node_map.keys())
if id_ in self.inclined_roll:
if (
id_ in self.inclined_roll
and np.mod(self.inclined_roll[id_], np.pi / 2) != 0
):
raise FEMException(
"StabilityError",
"Point loads may not be placed at the location of "
Expand Down

0 comments on commit 678b6d5

Please sign in to comment.