Recent Releases of fronts
fronts -
Fixed
- Fix errors related to the new type hints.
- Python
Published by gerlero about 1 year ago
fronts -
Added
- Add type hints to the entire package and perform type checking with
mypy.
- Python
Published by gerlero about 1 year ago
fronts -
Fixed
- Fix sorptivity and ode functions not being properly exported.
- Python
Published by gerlero about 2 years ago
fronts -
Fixed
- Fix examples/HF135/inverse1.py failure in some environments.
- Python
Published by gerlero over 2 years ago
fronts -
Added
- Add
sorptivity()function that can compute the sorptivity from samples.
- Python
Published by gerlero over 2 years ago
fronts -
Fixed
- Work around a SciPy bug that can cause
solve()to fail with an unexpectedValueError(https://github.com/scipy/scipy/issues/17066).
- Python
Published by gerlero over 2 years ago
fronts -
Added
- Add
oiproperty to theSolutionclass.
- Python
Published by gerlero over 2 years ago
fronts -
Added
- Add new
sorptivity()methods to theSolutionandBaseSolutionclasses.
Changed
- Update packaging.
- Python
Published by gerlero over 2 years ago
fronts -
Changed
- Add new references to the documentation.
- Python
Published by gerlero over 3 years ago
fronts -
Added
- Add preferred citation (via CITATION.cff) to the repository.
- Python
Published by gerlero over 3 years ago
fronts -
Added
- Add
letxs()andletd()diffusivity models based on the LET correlations to thefronts.Dmodule.
- Python
Published by gerlero over 3 years ago
fronts - v0.9.11
Fixed
- Fix plotting errors in example cases with newer versions of Matplotlib.
Removed
- Drop support for Python versions older than 3.7 (including Python 2.7).
- Drop support for SciPy versions older than 1.4.0.
- Remove optional dependencies needed to publish the package, including the install option
[publish]. The project now uses GitHub Actions to automatically build and upload releases to PyPI.
- Python
Published by gerlero over 3 years ago
fronts -
Fixed
- Fix possible NumPy warning (emitted before the expected
ValueErroris raised) whensolve()is invoked with aDthat is not valid. - Revert "saturation" to "water content" in examples/HF135 case.
- Python
Published by gerlero over 5 years ago
fronts -
Added
- Add an automated test suite for validation of the software. Tests are executed automatically on Travis CI whenever changes are pushed to GitHub. Install with new option
[test](or[dev]) and usepytestto run the tests locally.
Changed
- Check that
Dis well behaved at the expected extrema of the solution when invokingsolve(). Ifsolve()determines that the problem cannot be solved, the function will now raise aValueErrorimmediately without performing any iterations. - Improve error message when attempting to use the 'explicit' method of
solve()andsolve_flowrate()with SciPy older than 1.4.0. - Improve reference documentation.
Fixed
- Fix examples/1INFILTR case with NumPy versions lower than 1.16.
- Fix examples/HF135/inverse2.py failure in some environments.
- Fix problem statement in 'Usage' section of README file.
- Python
Published by gerlero over 5 years ago
fronts -
Added
- Add new solver
solve_flowrate()to solve radial problems (cylindrical or polar) with a fixed-flowrate boundary condition. - Add new automatic mode to
solve(). Removes the need for users to tune thed_dob_bracket(formerlydS_dob_bracket) parameter until the function succeeds. In practice,solve()can now be expected to return the solution to a problem upon the first call with no parameter tuning required. The newsolve_flowrate()also works in a similar manner. - Allow expressions of D to be passed directly to the solvers (e.g.:
solve(D="c**2", ...)). Removes the need for users to provide the derivatives of custom functions. This functionality uses SymPy, which is now installed by default. - Add optional explicit integration method to
solve()andsolve_flowrate(). Using it requires SciPy 1.4.0 or later (Python 3 only). - Add Brooks and Corey moisture diffusivity model to the
fronts.Dmodule. - Add new properties
b,d_dob,iandob, and methodsd_drb(),d_dtb()andfluxb()to theSolutionclass. - Add optional
d_dob_hintparameter tosolve(). Allows users to pass an optional hint to the new automatic mode, which may accelerate convergence in some scenarios. - Add execution time to the verbose output of solvers. Measures total CPU time in Python 3, or wall-clock time in Python 2.7.
- Add
catch_errorsoption toode()that converts D domain errors to invalid values for easier compatibility with SciPy code. - Add
'polar'as a valid value for theradialparameter ofode()and solvers. - Add
from_expr()to thefronts.Dmodule, which transforms expressions into callable D functions. - Add
__version__attribute to the main package, which stores the current version as a string. - Support extra options during install: e.g.,
$ pip install fronts[examples]also installs Matplotlib, which is required to run the examples. Other options:[doc],[publish], and[dev](the latter installs all extras).
Changed
- Drop the letter
Sfrom the names of function parameters and methods. For more generality, the library now does not name the solution field in user-facing code. As a consequence of this,Solutionobjects are now callable. - Update
solve()to employ the new automatic mode by default.d_dob_bracket(formerlydS_dob_bracket) is still available but now defaults toNone, which triggers the new behavior. - Change default tolerance (
itol, formerlySi_tol) insolve()to 1e-3. - Replace use of
Sin documentation with the Greek letter theta. - Update examples with the new function signatures and method names.
- Update examples to use the new features of
solve(). - Update examples/HF135/radial.py to use the new solver
solve_flowrate(). - Update examples/exact case to use an expression for D.
- Update verbose output of
solve(). Ambiguously named column "Evaluations" replaced with "Calls to D"; now counts all invocations ofD. - Improve error messages in Python 3 by suppressing internal exceptions from the exception context.
- Improve README file and reference documentation.
Fixed
- Fix floating point warnings that sometimes appeared during calls to
solve()andsolve_from_guess(). - Remove unnecessary restriction on the
lparameter ofD.van_genuchten(). - Fix list of examples in README file.
- Fix examples/exact case in Python 2.7.
- Fix encoding error when installed in editable mode in Python 2.7.
- Python
Published by gerlero almost 6 years ago
fronts -
Fixed
- Fix a problem related to the encoding of README.md that prevented installation with some versions of pip.
- Python
Published by gerlero over 6 years ago
fronts -
Added
- Add optional intrinsic permeability, kinematic viscosity, and gravitational acceleration parameters to
D.van_genuchten()andD.richards(), which can be used in place of the hydraulic conductivity parameter. - Update examples/HF135 to use intrinsic permeability.
- Add new radial example to examples/HF135.
- Add scripts to plot the diffusivities in all example cases.
- Add units of measurement to examples/1INFILTR and examples/HF135.
- Add mention of porousMultiphaseFoam software version used to validate examples/HF135.
- Add this changelog file to the project.
Changed
- Rename
SemiInfiniteSolutionclass to justSolution(and the oldSolutionclass toBaseSolution). - Update Hydrus-1D validation data for examples/1INFILTR.
- Change "water content" to "saturation" in examples/HF135.
- Improve example plots.
- Rename "API documentation" to "reference documentation".
- Improve README.md file and reference documentation.
Removed
- Remove examples/powerlaw/radial example. Replaced by new radial example in examples/HF135.
- Python
Published by gerlero over 6 years ago
fronts -
Changed
- Improve README file and reference documentation.
- Python
Published by gerlero over 6 years ago
fronts -
Added
- Add links to the online reference documentation for functionality listed in the README file.
- Add GSaM logo to README file.
Changed
- Make parameter maxnodes in function `solvefrom_guess()` default to 1000.
- Make functions raise
TypeErrorinstead ofValueErroron illegal combinations of arguments.
Fixed
- Fix typo in name of examples/1INFILTR.
- Fix wrong name used in mention of examples/refine.py in the README file.
- Python
Published by gerlero over 6 years ago
fronts -
Changed
- Rename parameter of
D.constant()function toD0. - Improve documentation.
Fixed
- Fix
D.constant(), which was previously broken due to a bug. - Fix use of the terms "saturation" and "water content" throughout the project.
- Python
Published by gerlero over 6 years ago