Skip to content

Commit efa91d0

Browse files
TorkelEisaacsas
andcommitted
Update HISTORY.md
Co-authored-by: Sam Isaacson <[email protected]>
1 parent 621d664 commit efa91d0

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

HISTORY.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,9 @@
1818
```
1919
this value will be used across the entire system. If their values are instead vectors, different values are used across the spatial system. Here
2020
```julia
21-
u0 = [:X => [1.0, 0.0, 0.0, ...]]
21+
X0 = zeros(25)
22+
X0[1] = 1.0
23+
u0 = [:X => X0]
2224
```
2325
X's value will be `1.0` in the first vertex, but `0.0` in the remaining one (the system have 25 vertexes in total). SInce th parameters `p` and `d` are part of the non-spatial reaction network, their values are tied to vertexes. However, if the `D` parameter (which governs diffusion between vertexes) is given several values, these will instead correspond to the specific edges (and transportation along those edges.)
2426

0 commit comments

Comments
 (0)