Move old cython translation_calculator wrapper

This commit is contained in:
Marek Nečada 2020-12-02 17:18:51 +02:00
parent f283bc01d1
commit d600977ca5
3 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ except ImportError as ex:
from .cyquaternions import CQuat, IRot3
from .cybspec import VSWFNorm, BaseSpec, default_bspec
from .cytmatrices import CTMatrix, TMatrixInterpolator, TMatrixGenerator
from .cytranslations import trans_calculator
#from .cytranslations import trans_calculator
from .cymaterials import MaterialInterpolator, EpsMu, LorentzDrudeModel, lorentz_drude, EpsMuGenerator
from .cycommon import dbgmsg_enable, dbgmsg_disable, dbgmsg_active, BesselType, VSWFType
from .cywaves import vswf_single

View File

@ -111,8 +111,8 @@ cywaves = Extension('qpms.cywaves',
libraries = common_libs,
include_dirs = [numpy_includes],
)
cytranslations = Extension('qpms.cytranslations',
sources = ['qpms/cytranslations.pyx',
cytranslations = Extension('qpms.cytranslations_legacy',
sources = ['qpms/cytranslations_legacy.pyx',
'qpms/translations_python.c',
],
extra_compile_args=['-std=c99',