From 6f08131d9682e0e7753b7bfc3c45d25d0b6f4a79 Mon Sep 17 00:00:00 2001 From: jellepoland Date: Tue, 13 Aug 2024 16:01:22 +0200 Subject: [PATCH] Changing the src/folder_name to folder_name = PSS, to make it easier to write import statements and clear out confusion between project/repo name and the src code folder name --- pyproject.toml | 2 +- .../ExternalForces/LaserBeam.py | 0 .../ExternalForces/OpticalForceCalculator.py | 0 .../ExternalForces/__init__.py | 0 .../ExternalForces/optical_interpolators/Mark_2_export.csv | 0 .../ExternalForces/optical_interpolators/Mark_3_export.csv | 0 .../ExternalForces/optical_interpolators/Mark_4.1_export.csv | 0 .../ExternalForces/optical_interpolators/Mark_4_export.csv | 0 .../ExternalForces/optical_interpolators/Mark_5_export.csv | 0 .../ExternalForces/optical_interpolators/Mark_6.csv | 0 .../ExternalForces/optical_interpolators/Mark_7_export.csv | 0 .../ExternalForces/optical_interpolators/Mark_8_export.csv | 0 .../ExternalForces/optical_interpolators/Mark_9_export.csv | 0 .../ExternalForces/optical_interpolators/PhC_Gao_et_al.csv | 0 .../ExternalForces/optical_interpolators/__init__.py | 0 .../ExternalForces/optical_interpolators/dummy.csv | 0 .../ExternalForces/optical_interpolators/interpolators.py | 0 .../ExternalForces/optical_interpolators/mark_2.csv | 0 src/{Particle_System_Simulator => PSS}/Mesh/Mesher.py | 0 src/{Particle_System_Simulator => PSS}/Mesh/__init__.py | 0 src/{Particle_System_Simulator => PSS}/Mesh/mesh_functions.py | 0 src/{Particle_System_Simulator => PSS}/Mesh/mesh_tester.py | 0 src/{Particle_System_Simulator => PSS}/Sim/__init__.py | 0 src/{Particle_System_Simulator => PSS}/Sim/simulations.py | 0 src/{Particle_System_Simulator => PSS}/__init__.py | 0 src/{Particle_System_Simulator => PSS}/particleSystem/Force.py | 0 .../particleSystem/ImplicitForce.py | 0 .../particleSystem/Particle.py | 0 .../particleSystem/ParticleSystem.py | 0 .../particleSystem/SpringDamper.py | 0 .../particleSystem/SystemObject.py | 0 .../particleSystem/__init__.py | 0 32 files changed, 1 insertion(+), 1 deletion(-) rename src/{Particle_System_Simulator => PSS}/ExternalForces/LaserBeam.py (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/OpticalForceCalculator.py (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/__init__.py (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/Mark_2_export.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/Mark_3_export.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/Mark_4.1_export.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/Mark_4_export.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/Mark_5_export.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/Mark_6.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/Mark_7_export.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/Mark_8_export.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/Mark_9_export.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/PhC_Gao_et_al.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/__init__.py (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/dummy.csv (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/interpolators.py (100%) rename src/{Particle_System_Simulator => PSS}/ExternalForces/optical_interpolators/mark_2.csv (100%) rename src/{Particle_System_Simulator => PSS}/Mesh/Mesher.py (100%) rename src/{Particle_System_Simulator => PSS}/Mesh/__init__.py (100%) rename src/{Particle_System_Simulator => PSS}/Mesh/mesh_functions.py (100%) rename src/{Particle_System_Simulator => PSS}/Mesh/mesh_tester.py (100%) rename src/{Particle_System_Simulator => PSS}/Sim/__init__.py (100%) rename src/{Particle_System_Simulator => PSS}/Sim/simulations.py (100%) rename src/{Particle_System_Simulator => PSS}/__init__.py (100%) rename src/{Particle_System_Simulator => PSS}/particleSystem/Force.py (100%) rename src/{Particle_System_Simulator => PSS}/particleSystem/ImplicitForce.py (100%) rename src/{Particle_System_Simulator => PSS}/particleSystem/Particle.py (100%) rename src/{Particle_System_Simulator => PSS}/particleSystem/ParticleSystem.py (100%) rename src/{Particle_System_Simulator => PSS}/particleSystem/SpringDamper.py (100%) rename src/{Particle_System_Simulator => PSS}/particleSystem/SystemObject.py (100%) rename src/{Particle_System_Simulator => PSS}/particleSystem/__init__.py (100%) diff --git a/pyproject.toml b/pyproject.toml index 3bb7e5b..0853fce 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -12,7 +12,7 @@ requires = ["setuptools >= 61.0"] build-backend = "setuptools.build_meta" [project] -name = "Particle_System_Simulator" +name = "PSS" version = "0.1.0" readme = "README.md" license = {file = "LICENSE"} diff --git a/src/Particle_System_Simulator/ExternalForces/LaserBeam.py b/src/PSS/ExternalForces/LaserBeam.py similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/LaserBeam.py rename to src/PSS/ExternalForces/LaserBeam.py diff --git a/src/Particle_System_Simulator/ExternalForces/OpticalForceCalculator.py b/src/PSS/ExternalForces/OpticalForceCalculator.py similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/OpticalForceCalculator.py rename to src/PSS/ExternalForces/OpticalForceCalculator.py diff --git a/src/Particle_System_Simulator/ExternalForces/__init__.py b/src/PSS/ExternalForces/__init__.py similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/__init__.py rename to src/PSS/ExternalForces/__init__.py diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_2_export.csv b/src/PSS/ExternalForces/optical_interpolators/Mark_2_export.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_2_export.csv rename to src/PSS/ExternalForces/optical_interpolators/Mark_2_export.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_3_export.csv b/src/PSS/ExternalForces/optical_interpolators/Mark_3_export.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_3_export.csv rename to src/PSS/ExternalForces/optical_interpolators/Mark_3_export.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_4.1_export.csv b/src/PSS/ExternalForces/optical_interpolators/Mark_4.1_export.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_4.1_export.csv rename to src/PSS/ExternalForces/optical_interpolators/Mark_4.1_export.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_4_export.csv b/src/PSS/ExternalForces/optical_interpolators/Mark_4_export.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_4_export.csv rename to src/PSS/ExternalForces/optical_interpolators/Mark_4_export.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_5_export.csv b/src/PSS/ExternalForces/optical_interpolators/Mark_5_export.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_5_export.csv rename to src/PSS/ExternalForces/optical_interpolators/Mark_5_export.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_6.csv b/src/PSS/ExternalForces/optical_interpolators/Mark_6.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_6.csv rename to src/PSS/ExternalForces/optical_interpolators/Mark_6.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_7_export.csv b/src/PSS/ExternalForces/optical_interpolators/Mark_7_export.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_7_export.csv rename to src/PSS/ExternalForces/optical_interpolators/Mark_7_export.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_8_export.csv b/src/PSS/ExternalForces/optical_interpolators/Mark_8_export.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_8_export.csv rename to src/PSS/ExternalForces/optical_interpolators/Mark_8_export.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_9_export.csv b/src/PSS/ExternalForces/optical_interpolators/Mark_9_export.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/Mark_9_export.csv rename to src/PSS/ExternalForces/optical_interpolators/Mark_9_export.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/PhC_Gao_et_al.csv b/src/PSS/ExternalForces/optical_interpolators/PhC_Gao_et_al.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/PhC_Gao_et_al.csv rename to src/PSS/ExternalForces/optical_interpolators/PhC_Gao_et_al.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/__init__.py b/src/PSS/ExternalForces/optical_interpolators/__init__.py similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/__init__.py rename to src/PSS/ExternalForces/optical_interpolators/__init__.py diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/dummy.csv b/src/PSS/ExternalForces/optical_interpolators/dummy.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/dummy.csv rename to src/PSS/ExternalForces/optical_interpolators/dummy.csv diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/interpolators.py b/src/PSS/ExternalForces/optical_interpolators/interpolators.py similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/interpolators.py rename to src/PSS/ExternalForces/optical_interpolators/interpolators.py diff --git a/src/Particle_System_Simulator/ExternalForces/optical_interpolators/mark_2.csv b/src/PSS/ExternalForces/optical_interpolators/mark_2.csv similarity index 100% rename from src/Particle_System_Simulator/ExternalForces/optical_interpolators/mark_2.csv rename to src/PSS/ExternalForces/optical_interpolators/mark_2.csv diff --git a/src/Particle_System_Simulator/Mesh/Mesher.py b/src/PSS/Mesh/Mesher.py similarity index 100% rename from src/Particle_System_Simulator/Mesh/Mesher.py rename to src/PSS/Mesh/Mesher.py diff --git a/src/Particle_System_Simulator/Mesh/__init__.py b/src/PSS/Mesh/__init__.py similarity index 100% rename from src/Particle_System_Simulator/Mesh/__init__.py rename to src/PSS/Mesh/__init__.py diff --git a/src/Particle_System_Simulator/Mesh/mesh_functions.py b/src/PSS/Mesh/mesh_functions.py similarity index 100% rename from src/Particle_System_Simulator/Mesh/mesh_functions.py rename to src/PSS/Mesh/mesh_functions.py diff --git a/src/Particle_System_Simulator/Mesh/mesh_tester.py b/src/PSS/Mesh/mesh_tester.py similarity index 100% rename from src/Particle_System_Simulator/Mesh/mesh_tester.py rename to src/PSS/Mesh/mesh_tester.py diff --git a/src/Particle_System_Simulator/Sim/__init__.py b/src/PSS/Sim/__init__.py similarity index 100% rename from src/Particle_System_Simulator/Sim/__init__.py rename to src/PSS/Sim/__init__.py diff --git a/src/Particle_System_Simulator/Sim/simulations.py b/src/PSS/Sim/simulations.py similarity index 100% rename from src/Particle_System_Simulator/Sim/simulations.py rename to src/PSS/Sim/simulations.py diff --git a/src/Particle_System_Simulator/__init__.py b/src/PSS/__init__.py similarity index 100% rename from src/Particle_System_Simulator/__init__.py rename to src/PSS/__init__.py diff --git a/src/Particle_System_Simulator/particleSystem/Force.py b/src/PSS/particleSystem/Force.py similarity index 100% rename from src/Particle_System_Simulator/particleSystem/Force.py rename to src/PSS/particleSystem/Force.py diff --git a/src/Particle_System_Simulator/particleSystem/ImplicitForce.py b/src/PSS/particleSystem/ImplicitForce.py similarity index 100% rename from src/Particle_System_Simulator/particleSystem/ImplicitForce.py rename to src/PSS/particleSystem/ImplicitForce.py diff --git a/src/Particle_System_Simulator/particleSystem/Particle.py b/src/PSS/particleSystem/Particle.py similarity index 100% rename from src/Particle_System_Simulator/particleSystem/Particle.py rename to src/PSS/particleSystem/Particle.py diff --git a/src/Particle_System_Simulator/particleSystem/ParticleSystem.py b/src/PSS/particleSystem/ParticleSystem.py similarity index 100% rename from src/Particle_System_Simulator/particleSystem/ParticleSystem.py rename to src/PSS/particleSystem/ParticleSystem.py diff --git a/src/Particle_System_Simulator/particleSystem/SpringDamper.py b/src/PSS/particleSystem/SpringDamper.py similarity index 100% rename from src/Particle_System_Simulator/particleSystem/SpringDamper.py rename to src/PSS/particleSystem/SpringDamper.py diff --git a/src/Particle_System_Simulator/particleSystem/SystemObject.py b/src/PSS/particleSystem/SystemObject.py similarity index 100% rename from src/Particle_System_Simulator/particleSystem/SystemObject.py rename to src/PSS/particleSystem/SystemObject.py diff --git a/src/Particle_System_Simulator/particleSystem/__init__.py b/src/PSS/particleSystem/__init__.py similarity index 100% rename from src/Particle_System_Simulator/particleSystem/__init__.py rename to src/PSS/particleSystem/__init__.py