RectGrid.append¶
-
RectGrid.
append
(self, \*grids)[source]¶ Insert
grids
at the end as a block.- Parameters
- grid1, …, gridN
RectGrid
The grids to be appended to
self
.
- grid1, …, gridN
- Returns
- newgrid
RectGrid
The enlarged grid.
- newgrid
See also
Examples
>>> g1 = RectGrid([0, 1], [-1, 0, 2]) >>> g2 = RectGrid([1], [-6, 15]) >>> g1.append(g2) RectGrid( [ 0., 1.], [-1., 0., 2.], [ 1.], [ -6., 15.] ) >>> g1.append(g2, g2) RectGrid( [ 0., 1.], [-1., 0., 2.], [ 1.], [ -6., 15.], [ 1.], [ -6., 15.] )