mirror of
https://github.com/openmc-dev/openmc.git
synced 2026-07-29 06:35:48 -04:00
Replace float_endf with a fast C/Cython version
This commit is contained in:
parent
49c49110b7
commit
d79524b9ce
5 changed files with 59 additions and 3 deletions
4
setup.py
4
setup.py
|
|
@ -68,10 +68,10 @@ kwargs = {
|
|||
},
|
||||
}
|
||||
|
||||
# If Cython is present, add resonance reconstruction capability
|
||||
# If Cython is present, add resonance reconstruction and fast float_endf
|
||||
if have_cython:
|
||||
kwargs.update({
|
||||
'ext_modules': cythonize('openmc/data/reconstruct.pyx'),
|
||||
'ext_modules': cythonize('openmc/data/*.pyx'),
|
||||
'include_dirs': [np.get_include()]
|
||||
})
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue