Skip to content

Commit

Permalink
#2229 changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
rtimms committed Sep 12, 2022
1 parent 0f6e0c5 commit c17c3f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@

## Breaking changes

- When creating a `pybamm.Interpolant` the default interpolator is now "linear". Passing data directly to `ParameterValues` using the ``[data]`` tag will be still used to create a cubic spline interpolant, as before ([#2258](https://github.com/pybamm-team/PyBaMM/pull/2258))
- Events must now be defined in such a way that they are positive at the initial conditions (events will be triggered when they become negative, instead of when they change sign in either direction) ([#2212](https://github.com/pybamm-team/PyBaMM/pull/2212))

# [v22.8](https://github.com/pybamm-team/PyBaMM/tree/v22.8) - 2022-08-31
Expand Down
3 changes: 3 additions & 0 deletions docs/tutorials/add-parameter-values.rst
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,9 @@ called (must be in the same folder), with the tag ``[data]``, for example:
| Example [m2.s-1] | [data]diffusivity_AuthorYear | AuthorYear | some data |
+---------------------+----------------------------------+--------------+-------------+

Data passed using the ``[data]`` tag will be used to create a cubic spline interpolant. For more control over the interpolation you can create your own :class:`Interpolant` from the data and pass that to the :class:`ParameterValues` class instead.


Using new parameters
--------------------

Expand Down

0 comments on commit c17c3f9

Please sign in to comment.