This instance will be upgraded to Heptapod 0.26.0rc1 on 2021-10-26 at 14:00 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
doc/ipynb/.ipynb_checkpoints
doc/ipynb/executed/.ipynb_checkpoints
doc/ipynb/**.rst
doc/tmp/*
doc/ipynb/*.nbconvert.ipynb
doc/tmp/*
.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
-----
......
......@@ -17,7 +17,6 @@ I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) .
IPYNB_DIR = $(abspath ipynb)
IPYTHON_NOTEBOOKS = $(wildcard ipynb/*.ipynb)
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
......@@ -53,7 +52,6 @@ help:
clean:
rm -rf $(BUILDDIR)/*
rm -rf $(IPYTHON_NOTEBOOKS_DIR)
rm -f $(IPYTHON_NOTEBOOKS_RST)
rm -f ipynb/executed/tuto_*.rst
rm -rf tmp
......
......@@ -146,8 +146,7 @@ copyright = u'2016, Pierre Augier'
release = fluidfft.__version__
# The short X.Y version.
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
# for a list of supported languages.
......
......@@ -77,7 +77,6 @@ User Guide
bench
Modules Reference
-----------------
......@@ -89,9 +88,21 @@ Modules Reference
See also the `documentation of the cpp code produced with Doxygen
<doxygen/index.html>`_
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
:target: https://pypi.org/project/fluidfft/
:alt: Latest version
......@@ -112,12 +123,11 @@ More
- Unittest coverage |coverage|
- Continuous integration with travis-ci.org |travis|
- 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
==================
......
......@@ -6,7 +6,7 @@ Installation and advice
Dependencies
------------
- Python 2.7 or >= 3.4
- Python 2.7 or >= 3.5
- a C++11 compiler (for example GCC 4.9 or clang)
......
......@@ -11,4 +11,4 @@ http://legacy.python.org/dev/peps/pep-0386/
'a' or 'alpha' means alpha version (internal testing),
'b' or 'beta' means beta version (external testing).
"""
__version__ = "0.2.2"
__version__ = "0.2.3"
......@@ -433,16 +433,18 @@ class OperatorsPseudoSpectral3D(object):
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,
rotxfft, rotyfft, rotzfft):
def rotfft_from_vecfft_outin(
self, vx_fft, vy_fft, vz_fft, rotxfft, rotyfft, rotzfft
):
"""Return the curl of a vector in spectral space."""
# float64[][][]
Kx = self.Kx
Ky = self.Ky
Kz = self.Kz
rotfft_from_vecfft_outin(vx_fft, vy_fft, vz_fft, Kx, Ky, Kz,
rotxfft, rotyfft, rotzfft)
rotfft_from_vecfft_outin(
vx_fft, vy_fft, vz_fft, Kx, Ky, Kz, rotxfft, rotyfft, rotzfft
)
def div_vb_fft_from_vb(self, vx, vy, vz, b):
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):
# complex128[][][], complex128[][][], complex128[][][])
def rotfft_from_vecfft_outin(vx_fft, vy_fft, vz_fft, Kx, Ky, Kz,
rotxfft, rotyfft, rotzfft):
def rotfft_from_vecfft_outin(
vx_fft, vy_fft, vz_fft, Kx, Ky, Kz, rotxfft, rotyfft, rotzfft
):
"""Compute the curl of a vector (in spectral space)"""
# return (1j * (Ky * vz_fft - Kz * vy_fft),
# 1j * (Kz * vx_fft - Kx * vz_fft),
......
......@@ -240,7 +240,7 @@ setup(
# 3 - Alpha
# 4 - Beta
# 5 - Production/Stable
'Development Status :: 4 - Beta',
'Development Status :: 5 - Production/Stable',
'Intended Audience :: Science/Research',
'Intended Audience :: Education',
'Topic :: Scientific/Engineering',
......@@ -254,14 +254,14 @@ setup(
'Programming Language :: Python :: 2',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3',
'Programming Language :: Python :: 3.4',
'Programming Language :: Python :: 3.5',
'Programming Language :: Python :: 3.6',
'Programming Language :: Cython',
'Programming Language :: C'],
python_requires='>=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*',
packages=find_packages(exclude=[
'doc', 'include', 'scripts', 'src_cpp', 'src_cy']),
install_requires=['fluiddyn >= 0.2.0'],
install_requires=['fluiddyn >= 0.2.3'],
# cmdclass={'build_ext': build_ext},
ext_modules=ext_modules,
entry_points={
......
......@@ -10,7 +10,7 @@
# this directory.
[tox]
envlist =
py{27,34,35,36}-{pythran}-{mpi}
py{27,35,36}-{pythran}-{mpi}
codecov
[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