Skip to content

Commit

Permalink
Reformat code
Browse files Browse the repository at this point in the history
  • Loading branch information
GiovanniBordiga committed Jul 27, 2024
1 parent cacd006 commit 2040455
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion difflexmm/kinematics.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@ def _block_to_node_displacement(block_displacement: jnp.ndarray, centroid_node_v

# Vectorize over array of nodes per block first and then over array of blocks
block_to_node_kinematics = vmap(
vmap(_block_to_node_displacement, in_axes=(None, 0)), in_axes=(0, 0))
vmap(_block_to_node_displacement, in_axes=(None, 0)), in_axes=(0, 0)
)


def build_constrained_kinematics(geometry: Geometry, constrained_block_DOF_pairs: jnp.ndarray, constrained_DOFs_fn: Callable = lambda t, **kwargs: 0):
Expand Down

0 comments on commit 2040455

Please sign in to comment.