Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "calfem-python"
version = "3.6.14"
version = "3.6.16"
description = "CALFEM for Python"
authors = [
{name = "Jonas Lindemann", email = "jonas.lindemann@lunarc.lu.se"},
Expand Down
2 changes: 1 addition & 1 deletion src/calfem/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '3.6.14'
__version__ = '3.6.15'
VERSION = __version__
4 changes: 2 additions & 2 deletions src/calfem/vis_mpl.py
Original file line number Diff line number Diff line change
Expand Up @@ -2056,7 +2056,7 @@ def dispbeam2(ex, ey, edi, plotpar=[2, 1, 1], sfac=None):
if sfac is None:
sfac = (0.1 * L) / (np.max(abs(edi)))

eci = np.arange(0.0, L + L / (Nbr - 1), L / (Nbr - 1)).reshape(Nbr, 1)
eci = np.linspace(0.0, L, Nbr)

edi1 = edi * sfac
# From local x-coordinates to global coordinates of the beam element.
Expand Down Expand Up @@ -2138,7 +2138,7 @@ def secforce2(ex, ey, es, plotpar=[2, 1], sfac=None, eci=None):
sfac = (0.2 * L) / max(abs(es))

if eci is None:
eci = np.arange(0.0, L + L / (Nbr - 1), L / (Nbr - 1)).reshape(Nbr, 1)
eci = np.linspace(0.0, L, Nbr)

p1 = plotpar[0]
if p1 == 1:
Expand Down