Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update licence to 2024 #44

Merged
merged 1 commit into from
Jan 11, 2024
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 LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ MeshPy: A beam finite element input generator

MIT License

Copyright (c) 2018-2023
Copyright (c) 2018-2024
Ivo Steinbrecher
Institute for Mathematics and Computer-Based Simulation
Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/abaqus/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/abaqus/beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
3 changes: 1 addition & 2 deletions meshpy/abaqus/input_file.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down Expand Up @@ -278,7 +278,6 @@ def get_element_lines(self):
element_lines = []
normal_lines = ["*Normal, type=element"]
for element_type, elements in element_types.items():

# Number the elements of this type
set_n_global(elements, start_index=element_count)

Expand Down
2 changes: 1 addition & 1 deletion meshpy/base_mesh_item.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/boundary_condition.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
5 changes: 2 additions & 3 deletions meshpy/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down Expand Up @@ -156,7 +156,6 @@ def __init__(self):
self.vtk_type = VTKType

def set_default_values(self):

# Version information.
self.git_sha = None
self.git_date = None
Expand Down Expand Up @@ -197,7 +196,7 @@ def set_default_values(self):
self.input_file_meshpy_header = [
"-" * 77,
"This input file was created with MeshPy.",
"Copyright (c) 2018-2023",
"Copyright (c) 2018-2024",
" Ivo Steinbrecher",
" Institute for Mathematics and Computer-Based Simulation",
" Universitaet der Bundeswehr Muenchen",
Expand Down
2 changes: 1 addition & 1 deletion meshpy/container.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/coupling.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/element_beam.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/element_volume.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/function.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/function_utility.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometric_search/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometric_search/find_close_points.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometric_search/geometric_search_arborx.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometric_search/geometric_search_cython.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometric_search/geometric_search_cython_lib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometric_search/geometric_search_scipy.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometric_search/src/find_close_points.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// MIT License
//
// Copyright (c) 2018-2023
// Copyright (c) 2018-2024
// Ivo Steinbrecher
// Institute for Mathematics and Computer-Based Simulation
// Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometric_search/src/find_close_points.h
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// MIT License
//
// Copyright (c) 2018-2023
// Copyright (c) 2018-2024
// Ivo Steinbrecher
// Institute for Mathematics and Computer-Based Simulation
// Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometric_search/src/geometric_search.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
//
// MIT License
//
// Copyright (c) 2018-2023
// Copyright (c) 2018-2024
// Ivo Steinbrecher
// Institute for Mathematics and Computer-Based Simulation
// Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/geometry_set.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/header_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/inputfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/material.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
4 changes: 1 addition & 3 deletions meshpy/mesh.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down Expand Up @@ -823,7 +823,6 @@ def display_pyvista(
# Plot the nodes
node_radius_scaling_factor = 1.5
if beam_nodes:

sphere = pv.Sphere(
radius=1.0,
theta_resolution=resolution,
Expand Down Expand Up @@ -875,7 +874,6 @@ def display_pyvista(
# Plot the directors of the beam cross-section
director_radius_scaling_factor = 3.5
if beam_cross_section_directors:

arrow = pv.Arrow(tip_resolution=resolution, shaft_resolution=resolution)

if all_beams_have_cross_section_radius:
Expand Down
2 changes: 1 addition & 1 deletion meshpy/mesh_creation_functions/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/mesh_creation_functions/beam_basic_geometry.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/mesh_creation_functions/beam_curve.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/mesh_creation_functions/beam_fibers_in_rectangle.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/mesh_creation_functions/beam_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
3 changes: 1 addition & 2 deletions meshpy/mesh_creation_functions/beam_honeycomb.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down Expand Up @@ -117,7 +117,6 @@ def add_line(pointa, pointb):
mesh_honeycomb = Mesh()
origin = np.array([0, a * 0.5 * sin30, 0])
for i_height in range(n_height + 1):

# Start point for this zig-zag line.
base_row = origin + (2 * zig_zag_y + a * ny) * i_height

Expand Down
2 changes: 1 addition & 1 deletion meshpy/mesh_creation_functions/beam_nurbs.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/mesh_creation_functions/beam_stent.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/mesh_creation_functions/beam_wire.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
2 changes: 1 addition & 1 deletion meshpy/mesh_creation_functions/nurbs_generic.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#
# MIT License
#
# Copyright (c) 2018-2023
# Copyright (c) 2018-2024
# Ivo Steinbrecher
# Institute for Mathematics and Computer-Based Simulation
# Universitaet der Bundeswehr Muenchen
Expand Down
Loading