Read about our upcoming Code of Conduct on this issue

Commit c5b918e5 authored by Pierre Augier's avatar Pierre Augier
Browse files

Preparing release of 0.5.0

parent b618f719a484
Pipeline #27220 failed with stage
in 16 minutes and 39 seconds
......@@ -16,3 +16,6 @@ The main contributors are:
<http://www.legi.grenoble-inp.fr/web/spip.php?auteur223>`_
- `Miguel Calpe Linares (LEGI, CNRS, UGA)
<http://www.legi.grenoble-inp.fr/web/spip.php?auteur328>`_
- `Jason Reneuve (ENS Lyon)
<http://www.ens-lyon.fr/PHYSIQUE/presentation/anciens/reneuve-jason>`_
- Antoine Bardant (LEGI)
......@@ -22,14 +22,57 @@ Unreleased_
.. towncrier release notes start
.. _Unreleased: https://foss.heptapod.net/fluiddyn/fluidsim/-/compare/0.4.1...branch%2Fdefault
.. _Unreleased: https://foss.heptapod.net/fluiddyn/fluidsim/-/compare/0.5.0...branch%2Fdefault
0.5.0_ (2021-09-29)
-------------------
Added
~~~~~
* `!200 <https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/200>`__ :
New mechanism to easily extend a Simul class (subpackage
:mod:`fluidsim.extend_simul`).
* `!201 <https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/201>`__ :
Improve FluidSim Core API with a warning and a convenience function
- Warnings added when ``_set_attrib`` is called instead of ``_set_child`` by
a InfoSolver instance
- New function ``iter_complete_params``
* Output ``spatial_means_regions_milestone.py`` using :mod:`fluidsim.extend_simul`.
* New options ``no_vz_kz0`` and ``NO_KY0``.
* Spatiotemporal spectra and many improvements for the temporal spectra for
ns3d and ns2d solvers by Jason Reneuve (`!202
<https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/202>`__, ...)
* Better Burgers1d solvers (by Ashwin Vishnu)
Changed
~~~~~~~
* `!200 <https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/200>`__ :
(internal) :class:`fluidsim_core.info.InfoSolverCore`: ``__init__`` now fully
initializes the instance (calling the method ``complete_with_classes``). New
keyword argument ``only_root`` to initialize only the root level.
* `!211 <https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/211>`__ :
Replace for ns2d solvers the output ``frequency_spectra`` (nearly not used) by
the newer output ``temporal_spectra`` written for ns3d solvers.
Fixed
~~~~~
* Many bugfixes!
0.4.1_ (2021-02-02)
-------------------
Few bugfixes and `!192
<https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/192>` (temporal
spectra for ns3d solvers).
Few bugfixes and `!192 <https://foss.heptapod.net/fluiddyn/fluidsim/-/merge_requests/192>`__
(temporal spectra for ns3d solvers).
0.4.0_ (2021-01-11)
-------------------
......@@ -149,6 +192,7 @@ Merge with geofluidsim (Ashwin Vishnu Mohanan repository)
- Split the package fluiddyn between one base package and specialized
packages.
.. _0.5.0: https://foss.heptapod.net/fluiddyn/fluidsim/-/compare/0.4.1...0.5.0
.. _0.4.1: https://foss.heptapod.net/fluiddyn/fluidsim/-/compare/0.4.0...0.4.1
.. _0.4.0: https://foss.heptapod.net/fluiddyn/fluidsim/-/compare/0.3.3...0.4.0
.. _0.3.3: https://foss.heptapod.net/fluiddyn/fluidsim/-/compare/0.3.2...0.3.3
......
......@@ -13,7 +13,7 @@ with::
pip install fluidsim
The conda version of this command (`conda install fluidsim`) should also work.
The conda version of this command (``conda install fluidsim``) should also work.
However, one have to note that (i) fluidsim builds are sensible to environment
variables and (ii) fluidsim can optionally use `fluidfft
......
......@@ -6,6 +6,7 @@ Provides:
.. autoclass:: OutputBase
:members:
:private-members:
:noindex:
.. autoclass:: OutputBasePseudoSpectral
:members:
......@@ -15,6 +16,10 @@ Provides:
:members:
:private-members:
.. autoclass:: SimReprMaker
:members:
:private-members:
:noindex:
"""
import datetime
......@@ -40,6 +45,8 @@ from fluidsim.util.util import open_patient
class SimReprMaker(SimReprMakerCore):
"""Produce a string representing the simulation"""
def get_time_as_str(self):
params = self.sim.params
if not params.NEW_DIR_RESULTS and (
......@@ -496,7 +503,7 @@ class SpecificOutput:
self.t_last_save = self.sim.time_stepping.t
def _online_save(self):
"""Save the values at one time. """
"""Save the values at one time."""
tsim = self.sim.time_stepping.t
if tsim - self.t_last_save >= self.period_save:
self.t_last_save = tsim
......
__version__ = "0.4.1"
__version__ = "0.5.0"
......@@ -104,7 +104,7 @@ if FFTW3:
fft_extras_msg = dedent(
"""
*********************************************************************
---------------------------------------------------------------------
FFTW was detected, but pyfftw and fluidfft will not be auto-installed
(which was the case in previous fluidsim versions). To do so, instead
......@@ -116,7 +116,7 @@ if FFTW3:
pip install "fluidsim[fft]"
*********************************************************************
---------------------------------------------------------------------
"""
)
warn(fft_extras_msg)
......@@ -192,15 +192,12 @@ setup(
"Topic :: Scientific/Engineering",
"License :: OSI Approved :: GNU General Public License v2 (GPLv2)",
# actually CeCILL License (GPL compatible license for French laws)
#
# Specify the Python versions you support here. In particular,
# ensure that you indicate whether you support Python 2,
# Python 3 or both.
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.6",
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
],
packages=find_packages(exclude=["doc", "examples"]),
setup_requires=setup_requires,
......
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