diff --git a/CHANGELOG.md b/CHANGELOG.md index 82ea1a9a..948dee06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,10 @@ All notable changes to this project will be documented in this file. The format - `math.grad(x, **kwargs)` is enhanced to return gradients of fields (like before) and the gradient-attribute of basis-arrays (added). - The `grad_v` and `grad_u` arguments are removed from the form-expression decorator `Form`. This changes the required function signature of the weakform-callable to `weakform(v, u, **kwargs)`. The tuple of optional arguments is also removed. Gradients of `v` and `u` are now obtained by `math.grad(v)` or `v.grad`. +### Removed +- Remove the deprecated old-style argument `move` in `dof.biaxial()`. +- Remove the deprecated old-style arguments `move`, `axis_compression`, `axis_shear` and `compression` in `dof.shear()`. + ## [7.19.1] - 2024-03-08 ### Fixed diff --git a/src/felupe/dof/_loadcase.py b/src/felupe/dof/_loadcase.py index 46685724..e7437c6f 100644 --- a/src/felupe/dof/_loadcase.py +++ b/src/felupe/dof/_loadcase.py @@ -241,7 +241,6 @@ def biaxial( axes=(0, 1), clampes=(False, False), sym=True, - move=None, ): """Return a dict of boundaries for biaxial loading between a left (applied or symmetry face) and a right (applied) end face along a given pair of axes with @@ -361,15 +360,6 @@ def biaxial( """ - if move is not None: - from warnings import warn - - warn( - "The `move` argument is deprecated, use `moves=(move, move)` instead.", - DeprecationWarning, - ) - moves = (move, move) - f = field[0] fxyz = ["fx", "fy", "fz"] @@ -430,10 +420,6 @@ def shear( moves=(0.2, 0.0, 0.0), axes=(0, 1), sym=True, - move=None, - axis_shear=None, - axis_compression=None, - compression=None, ): """Return a dict of boundaries for shear loading with optional combined compression between a rigid bottom and a rigid top end face along a given pair of axes. The @@ -513,47 +499,6 @@ def shear( """ - if move is not None: - from warnings import warn - - warn( - "The `move` argument is deprecated, use `moves` instead.", - DeprecationWarning, - ) - moves = list(moves) - moves[0] = move - - if axis_compression is not None: - from warnings import warn - - warn( - "The `axis_compression` argument is deprecated, use `axes` instead.", - DeprecationWarning, - ) - axes = list(axes) - axes[1] = axis_compression - - if axis_shear is not None: - from warnings import warn - - warn( - "The `axis_shear` argument is deprecated, use `axes` instead.", - DeprecationWarning, - ) - axes = list(axes) - axes[0] = axis_shear - - if compression is not None: - from warnings import warn - - warn( - "The `compression` argument is deprecated, use `moves` instead.", - DeprecationWarning, - ) - moves = list(moves) - moves[1] = compression[0] - moves[2] = -compression[1] - f = field[0] if bottom is None: