Skip to content

Commit 0ee771f

Browse files
committed
better line breaking
1 parent ae4a185 commit 0ee771f

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

docs/src/grids.md

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -30,12 +30,11 @@ OneDimensionalGrid
3030
└─ aliased fraction: 0.3333333333333333
3131
```
3232

33-
The grid domain is, by default, constructed symmetrically around ``x = 0``, but this
34-
can be altered using the `x0` keyword argument of `OneDGrid` constructor. The grid
35-
spacing is ``L_x / n_x``. Note that the last point of the domain is a grid-spacing
36-
before ``L_x / 2``. This is because periodicity implies that the values of any field
37-
at the end-points of the domain are equal and, therefore, grid-point values at
38-
both these end-points are reduntant.
33+
The grid domain is, by default, constructed symmetrically around ``x = 0``, but this can be
34+
altered using the `x0` keyword argument of the `OneDGrid` constructor. The grid spacing
35+
is ``L_x / n_x``. Note that the last point of the domain is a grid-spacing before ``L_x / 2``.
36+
This is because periodicity implies that the values of any field at the end-points of the
37+
domain are equal and, therefore, grid-point values at both these end-points are reduntant.
3938

4039
We can define an array `u` that contains the values of a function ``u(x)`` on this
4140
grid as

0 commit comments

Comments
 (0)