This instance will be upgraded to Heptapod 0.26.0rc1 on 2021-10-26 at 14:30 UTC+2 (a few minutes of down time)

Commit 93555bc7 authored by Pierre Augier's avatar Pierre Augier
Browse files

Version 0.2.3 + byebye py34 + doc.

parent af755521359b
...@@ -72,7 +72,7 @@ bench/compare_projperpk3d/proj.cpp ...@@ -72,7 +72,7 @@ bench/compare_projperpk3d/proj.cpp
doc/ipynb/.ipynb_checkpoints doc/ipynb/.ipynb_checkpoints
doc/ipynb/executed/.ipynb_checkpoints doc/ipynb/executed/.ipynb_checkpoints
doc/ipynb/**.rst doc/ipynb/**.rst
doc/tmp/*
doc/ipynb/*.nbconvert.ipynb doc/ipynb/*.nbconvert.ipynb
doc/tmp/*
.eggs/* .eggs/*
0.2.3
-----
- Less bugs
- Pypy compatibility
- Support jinja2 as fallback for mako
- rotfft_from_vecfft_outin, 3d scatter/gather and compute spectra routines
0.2.2 0.2.2
----- -----
......
...@@ -17,7 +17,6 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . ...@@ -17,7 +17,6 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
IPYNB_DIR = $(abspath ipynb) IPYNB_DIR = $(abspath ipynb)
IPYTHON_NOTEBOOKS = $(wildcard ipynb/*.ipynb) IPYTHON_NOTEBOOKS = $(wildcard ipynb/*.ipynb)
IPYTHON_NOTEBOOKS_RST = $(IPYTHON_NOTEBOOKS:.ipynb=.rst) IPYTHON_NOTEBOOKS_RST = $(IPYTHON_NOTEBOOKS:.ipynb=.rst)
IPYTHON_NOTEBOOKS_DIR = $(IPYTHON_NOTEBOOKS:.ipynb=_files)
.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext .PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext
...@@ -53,7 +52,6 @@ help: ...@@ -53,7 +52,6 @@ help:
clean: clean:
rm -rf $(BUILDDIR)/* rm -rf $(BUILDDIR)/*
rm -rf $(IPYTHON_NOTEBOOKS_DIR)
rm -f $(IPYTHON_NOTEBOOKS_RST) rm -f $(IPYTHON_NOTEBOOKS_RST)
rm -f ipynb/executed/tuto_*.rst rm -f ipynb/executed/tuto_*.rst
rm -rf tmp rm -rf tmp
......
...@@ -146,8 +146,7 @@ copyright = u'2016, Pierre Augier' ...@@ -146,8 +146,7 @@ copyright = u'2016, Pierre Augier'
release = fluidfft.__version__ release = fluidfft.__version__
# The short X.Y version. # The short X.Y version.
version = release.split('.') version = release.split('.')
version = '{}.{}'.format(version[0], version[1]) version = '{}.{}.{}'.format(version[0], version[1], version[2])
# The language for content autogenerated by Sphinx. Refer to documentation # The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages. # for a list of supported languages.
......
...@@ -77,7 +77,6 @@ User Guide ...@@ -77,7 +77,6 @@ User Guide
bench bench
Modules Reference Modules Reference
----------------- -----------------
...@@ -89,9 +88,21 @@ Modules Reference ...@@ -89,9 +88,21 @@ Modules Reference
See also the `documentation of the cpp code produced with Doxygen See also the `documentation of the cpp code produced with Doxygen
<doxygen/index.html>`_ <doxygen/index.html>`_
More More
---- ----
.. toctree::
:maxdepth: 1
changes
Advice for FluidDyn developers <http://fluiddyn.readthedocs.io/en/latest/advice_developers.html>
to_do
Links
-----
.. |release| image:: https://img.shields.io/pypi/v/fluidfft.svg .. |release| image:: https://img.shields.io/pypi/v/fluidfft.svg
:target: https://pypi.org/project/fluidfft/ :target: https://pypi.org/project/fluidfft/
:alt: Latest version :alt: Latest version
...@@ -112,12 +123,11 @@ More ...@@ -112,12 +123,11 @@ More
- Unittest coverage |coverage| - Unittest coverage |coverage|
- Continuous integration with travis-ci.org |travis| - Continuous integration with travis-ci.org |travis|
- Continuous integration with Bitbucket Pipelines |pipelines| - Continuous integration with Bitbucket Pipelines |pipelines|
- `FluidDyn user chat room
<https://riot.im/app/#/room/#fluiddyn-users:matrix.org>`_
- `FluidDyn mailing list <https://www.freelists.org/list/fluiddyn>`_
- `FluidDyn on Twitter <https://twitter.com/pyfluiddyn>`_
.. toctree::
:maxdepth: 1
changes
to_do
Indices and tables Indices and tables
================== ==================
......
...@@ -6,7 +6,7 @@ Installation and advice ...@@ -6,7 +6,7 @@ Installation and advice
Dependencies Dependencies
------------ ------------
- Python 2.7 or >= 3.4 - Python 2.7 or >= 3.5
- a C++11 compiler (for example GCC 4.9 or clang) - a C++11 compiler (for example GCC 4.9 or clang)
......
...@@ -11,4 +11,4 @@ http://legacy.python.org/dev/peps/pep-0386/ ...@@ -11,4 +11,4 @@ http://legacy.python.org/dev/peps/pep-0386/
'a' or 'alpha' means alpha version (internal testing), 'a' or 'alpha' means alpha version (internal testing),
'b' or 'beta' means beta version (external testing). 'b' or 'beta' means beta version (external testing).
""" """
__version__ = "0.2.2" __version__ = "0.2.3"
...@@ -433,16 +433,18 @@ class OperatorsPseudoSpectral3D(object): ...@@ -433,16 +433,18 @@ class OperatorsPseudoSpectral3D(object):
return rotfft_from_vecfft(vx_fft, vy_fft, vz_fft, Kx, Ky, Kz) return rotfft_from_vecfft(vx_fft, vy_fft, vz_fft, Kx, Ky, Kz)
def rotfft_from_vecfft_outin(self, vx_fft, vy_fft, vz_fft, def rotfft_from_vecfft_outin(
rotxfft, rotyfft, rotzfft): self, vx_fft, vy_fft, vz_fft, rotxfft, rotyfft, rotzfft
):
"""Return the curl of a vector in spectral space.""" """Return the curl of a vector in spectral space."""
# float64[][][] # float64[][][]
Kx = self.Kx Kx = self.Kx
Ky = self.Ky Ky = self.Ky
Kz = self.Kz Kz = self.Kz
rotfft_from_vecfft_outin(vx_fft, vy_fft, vz_fft, Kx, Ky, Kz, rotfft_from_vecfft_outin(
rotxfft, rotyfft, rotzfft) vx_fft, vy_fft, vz_fft, Kx, Ky, Kz, rotxfft, rotyfft, rotzfft
)
def div_vb_fft_from_vb(self, vx, vy, vz, b): def div_vb_fft_from_vb(self, vx, vy, vz, b):
r"""Compute :math:`\nabla \cdot (\boldsymbol{v} b)` in spectral space. r"""Compute :math:`\nabla \cdot (\boldsymbol{v} b)` in spectral space.
......
...@@ -93,8 +93,9 @@ def rotfft_from_vecfft(vx_fft, vy_fft, vz_fft, Kx, Ky, Kz): ...@@ -93,8 +93,9 @@ def rotfft_from_vecfft(vx_fft, vy_fft, vz_fft, Kx, Ky, Kz):
# complex128[][][], complex128[][][], complex128[][][]) # complex128[][][], complex128[][][], complex128[][][])
def rotfft_from_vecfft_outin(vx_fft, vy_fft, vz_fft, Kx, Ky, Kz, def rotfft_from_vecfft_outin(
rotxfft, rotyfft, rotzfft): vx_fft, vy_fft, vz_fft, Kx, Ky, Kz, rotxfft, rotyfft, rotzfft
):
"""Compute the curl of a vector (in spectral space)""" """Compute the curl of a vector (in spectral space)"""
# return (1j * (Ky * vz_fft - Kz * vy_fft), # return (1j * (Ky * vz_fft - Kz * vy_fft),
# 1j * (Kz * vx_fft - Kx * vz_fft), # 1j * (Kz * vx_fft - Kx * vz_fft),
......
...@@ -240,7 +240,7 @@ setup( ...@@ -240,7 +240,7 @@ setup(
# 3 - Alpha # 3 - Alpha
# 4 - Beta # 4 - Beta
# 5 - Production/Stable # 5 - Production/Stable
'Development Status :: 4 - Beta', 'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research', 'Intended Audience :: Science/Research',
'Intended Audience :: Education', 'Intended Audience :: Education',
'Topic :: Scientific/Engineering', 'Topic :: Scientific/Engineering',
...@@ -254,14 +254,14 @@ setup( ...@@ -254,14 +254,14 @@ setup(
'Programming Language :: Python :: 2', 'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7', 'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3', 'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5', 'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6', 'Programming Language :: Python :: 3.6',
'Programming Language :: Cython', 'Programming Language :: Cython',
'Programming Language :: C'], 'Programming Language :: C'],
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
packages=find_packages(exclude=[ packages=find_packages(exclude=[
'doc', 'include', 'scripts', 'src_cpp', 'src_cy']), 'doc', 'include', 'scripts', 'src_cpp', 'src_cy']),
install_requires=['fluiddyn >= 0.2.0'], install_requires=['fluiddyn >= 0.2.3'],
# cmdclass={'build_ext': build_ext}, # cmdclass={'build_ext': build_ext},
ext_modules=ext_modules, ext_modules=ext_modules,
entry_points={ entry_points={
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
# this directory. # this directory.
[tox] [tox]
envlist = envlist =
py{27,34,35,36}-{pythran}-{mpi} py{27,35,36}-{pythran}-{mpi}
codecov codecov
[testenv] [testenv]
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment