From 6cc35af9db56075674e86fd2972eaaf0a3d8f695 Mon Sep 17 00:00:00 2001 From: Rafael Pastrana Date: Sun, 26 Jan 2025 20:40:48 -0500 Subject: [PATCH] [Loads] Deleted `_faces_load_2()` --- src/jax_fdm/equilibrium/loads.py | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/src/jax_fdm/equilibrium/loads.py b/src/jax_fdm/equilibrium/loads.py index 7dcc7bb..3cd2d9c 100644 --- a/src/jax_fdm/equilibrium/loads.py +++ b/src/jax_fdm/equilibrium/loads.py @@ -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 # ==========================================================================