move to hatch-based build

This commit is contained in:
Jan Petykiewicz 2022-11-20 19:38:21 -08:00
commit e41a71ce6f
8 changed files with 52 additions and 39 deletions

1
opencl_fdfd/LICENSE.md Symbolic link
View file

@ -0,0 +1 @@
../LICENSE.md

1
opencl_fdfd/README.md Symbolic link
View file

@ -0,0 +1 @@
../README.md

View file

@ -1,4 +0,0 @@
""" VERSION defintion. THIS FILE IS MANUALLY PARSED BY setup.py and REQUIRES A SPECIFIC FORMAT """
__version__ = '''
0.3
'''.strip()

View file

@ -40,6 +40,5 @@
from .main import cg_solver
__author__ = 'Jan Petykiewicz'
from .VERSION import __version__
__version__ = '0.3'
version = __version__

View file

@ -43,7 +43,7 @@ def cg_solver(omega: complex,
OpenCL.
All ndarray arguments should be 1D arrays. To linearize a list of 3 3D ndarrays,
either use meanas.vec() or numpy:
either use meanas.fdmath.vec() or numpy:
f_1D = numpy.hstack(tuple((fi.flatten(order='F') for fi in [f_x, f_y, f_z])))
:param omega: Complex frequency to solve at.

0
opencl_fdfd/py.typed Normal file
View file