Renamed library squish
This commit is contained in:
parent
d397ff93c2
commit
a0b6ee2ffd
16
setup.cfg
16
setup.cfg
@ -1,14 +1,14 @@
|
||||
[metadata]
|
||||
name = packsim-ksjdragon
|
||||
name = squish-ksjdragon
|
||||
version = 0.1
|
||||
author = Kenneth Jao
|
||||
author_email = ksjdragon@gmail.com
|
||||
description = PackSim is a Python package that handles the simulations for Voronoi cells undergoing a gradient flow.
|
||||
description = squish is Python program which perform simulations for the flow of 'soft' or 'compressible' objects under some energy in a periodic domain.
|
||||
long_description = file: README.md
|
||||
long_description_content_type = text/markdown
|
||||
url = https://github.com/ksjdragon/packsim
|
||||
url = https://github.com/ksjdragon/squish
|
||||
project_urls =
|
||||
Bug Tracker = https://github.com/ksjdragon/packsim/issues
|
||||
Bug Tracker = https://github.com/ksjdragon/squish/issues
|
||||
classifiers =
|
||||
Programming Language :: Python :: 3.8
|
||||
Programming Language :: Python :: 3.9
|
||||
@ -19,7 +19,7 @@ classifiers =
|
||||
[options]
|
||||
zip_safe = False
|
||||
package_dir =
|
||||
= packsim
|
||||
= squish
|
||||
packages = find:
|
||||
python_requires = >= 3.8
|
||||
install_requires =
|
||||
@ -28,9 +28,9 @@ install_requires =
|
||||
matplotlib == 3.4.3
|
||||
|
||||
[options.packages.find]
|
||||
where = packsim
|
||||
where = squish
|
||||
|
||||
[options.entry_points]
|
||||
console_scripts =
|
||||
simulate = packsim.scripts.simulate:main
|
||||
shrink_energy_comparison = packsim.scripts.shrink_energy_comparison:main
|
||||
simulate = squish.scripts.simulate:main
|
||||
shrink_energy_comparison = squish.scripts.shrink_energy_comparison:main
|
||||
6
setup.py
6
setup.py
@ -4,15 +4,15 @@ import numpy
|
||||
|
||||
ext_modules = [
|
||||
Extension(
|
||||
"_packsim",
|
||||
["src/_packsim.pyx"],
|
||||
"_squish",
|
||||
["src/_squish.pyx"],
|
||||
extra_compile_args=['-fopenmp'],
|
||||
extra_link_args=['-fopenmp']
|
||||
)
|
||||
]
|
||||
|
||||
setup(
|
||||
name="packsim",
|
||||
name="squish",
|
||||
ext_modules = cythonize(ext_modules, compiler_directives={
|
||||
'language_level': 3, 'boundscheck' : False, 'wraparound': False, 'cdivision' : True
|
||||
}),
|
||||
|
||||
@ -6,7 +6,7 @@ import matplotlib.ticker as mtick
|
||||
from pathlib import Path
|
||||
|
||||
from simulation import Diagram, Simulation
|
||||
from packsim_core import AreaEnergy, RadialALEnergy, RadialTEnergy
|
||||
from _squish import AreaEnergy, RadialALEnergy, RadialTEnergy
|
||||
|
||||
ENERGY_R_STR = {AreaEnergy: "Area", RadialALEnergy: "Radial[AL]", RadialTEnergy: "Radial[T]"}
|
||||
ENERGY_I_STR = {AreaEnergy: "area", RadialALEnergy: "radial-al", RadialTEnergy: "radial-t"}
|
||||
@ -5,7 +5,7 @@ from shutil import which
|
||||
from pathlib import Path
|
||||
from simulation import Diagram, Flow, Search, Shrink
|
||||
|
||||
from _packsim import RadialTEnergy
|
||||
from _squish import RadialTEnergy
|
||||
|
||||
dia_presets = {
|
||||
"animate": [["voronoi"]],
|
||||
File diff suppressed because it is too large
Load Diff
@ -6,7 +6,7 @@ from cpython cimport array
|
||||
from libc.stdlib cimport malloc, realloc, calloc, free
|
||||
from libc.math cimport isnan, NAN, pi as PI, M_PI_2 as PI_2, \
|
||||
sqrt, log, sin, cos, tan, acos, fabs
|
||||
from _packsim cimport INT_T, FLOAT_T, Init, IArray, FArray, BitSet, Vector2D, Matrix2x2, \
|
||||
from _squish cimport INT_T, FLOAT_T, Init, IArray, FArray, BitSet, Vector2D, Matrix2x2, \
|
||||
VectorSelfOps, VectorCopyOps, MatrixSelfOps, MatrixCopyOps, \
|
||||
SiteCacheMap, EdgeCacheMap, VoronoiInfo, Site, HalfEdge
|
||||
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
from _packsim cimport SiteCacheMap, EdgeCacheMap, VoronoiInfo, Site, HalfEdge
|
||||
from _squish cimport SiteCacheMap, EdgeCacheMap, VoronoiInfo, Site, HalfEdge
|
||||
|
||||
#### Constants ####
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user