Skip to content

Commit b3e0151

Browse files
#492 merge master
2 parents fed0bbb + 61561b0 commit b3e0151

38 files changed

+11
-3109
lines changed

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646

4747
## Breaking changes
4848

49+
- Moved `results` to separate repositories ([#761](https://github.com/pybamm-team/PyBaMM/pull/761))
4950
- The parameters "Bruggeman coefficient" must now be specified separately as "Bruggeman coefficient (electrolyte)" and "Bruggeman coefficient (electrode)"
5051
- The current classes (`GetConstantCurrent`, `GetUserCurrent` and `GetUserData`) have now been removed. Please refer to the [`change-input-current` notebook](https://github.com/pybamm-team/PyBaMM/blob/master/examples/notebooks/change-input-current.ipynb) for information on how to specify an input current
5152
- Parameter functions must now use pybamm functions instead of numpy functions (e.g. `pybamm.exp` instead of `numpy.exp`), as these are then used to construct the expression tree directly. Generally, pybamm syntax follows numpy syntax; please get in touch if a function you need is missing.

README.md

+2
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ hosted on [Read The Docs](readthedocs.io). A set of slides giving an overview of
2929
can be found
3030
[here](https://github.com/pybamm-team/pybamm_summary_slides/blob/master/pybamm.pdf).
3131

32+
For further examples, see the list of repositories that use PyBaMM [here](https://github.com/pybamm-team/pybamm-example-results)
33+
3234
## How can I obtain & install PyBaMM?
3335

3436
### Linux

examples/README.md

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
# Examples
2+
3+
A collection of Python scripts and Jupyter notebooks that demonstrate how to use PyBaMM.
4+
For further examples, see the list of repositories that use PyBaMM [here](https://github.com/pybamm-team/pybamm-example-results)

pybamm/processed_variable.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ def __init__(
102102
known_evals=self.known_evals[t_sol[0]],
103103
)
104104
else:
105-
self.base_eval = base_variable.evaluate(t_sol[0], u_sol[:, 0])
105+
self.base_eval = base_variable.evaluate(t_sol[0], u_sol[:, 0], self.inputs)
106106

107107
# handle 2D (in space) finite element variables differently
108108
if (

results/2019_08_sulzer_thesis/README.md

-48
This file was deleted.

results/2019_08_sulzer_thesis/_matplotlibrc

-27
This file was deleted.

results/2019_08_sulzer_thesis/effect_of_capacitance.py

-159
This file was deleted.

results/2019_08_sulzer_thesis/effect_of_convection.py

-125
This file was deleted.

0 commit comments

Comments
 (0)