File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -30,12 +30,11 @@ OneDimensionalGrid
30
30
└─ aliased fraction: 0.3333333333333333
31
31
```
32
32
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.
39
38
40
39
We can define an array ` u ` that contains the values of a function `` u(x) `` on this
41
40
grid as
You can’t perform that action at this time.
0 commit comments