Skip to content

Commit 9a6068f

Browse files
author
Daniel Precioso, PhD
committed
Close code hint
1 parent e54df4f commit 9a6068f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

modules/pde-1d/turing-instability.qmd

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,8 @@ def find_unstable_modes_2d(a=0.40, b=1.00, d=30.0, length_x=20.0, length_y=50.0,
351351
352352
unstable_modes.sort(key=lambda item: item[1], reverse=True)
353353
return unstable_modes
354+
```
355+
:::
354356
355357
For periodic boundaries, the same loop works after replacing each factor of $\pi / L$ by $2\pi / L$.
356358

0 commit comments

Comments
 (0)