Skip to content

Commit

Permalink
[Loads] Deleted _faces_load_2()
Browse files Browse the repository at this point in the history
  • Loading branch information
arpastrana committed Jan 27, 2025
1 parent 37cc7ef commit 6cc35af
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/jax_fdm/equilibrium/loads.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,19 +114,6 @@ def edge_tributary_face_area(line, centroid):
return area_triangle(triangle)


def _faces_load_2(xyz, faces, faces_load, is_local):
"""
Transform the face loads to the XYZ cartesian coordinate system.
"""
def _faces_load(xyz, face, face_load, is_local):
return jnp.where(is_local, face_load_lcs(xyz, face, face_load), face_load)

floads, is_local = faces_load
vmap_facesload = vmap(_faces_load, in_axes=(None, 0, 0, 0))

return vmap_facesload(xyz, faces, faces_load, is_local)


# ==========================================================================
# Edge loads
# ==========================================================================
Expand Down

0 comments on commit 6cc35af

Please sign in to comment.