RectGrid.append

RectGrid.append(self, \*grids)[source]

Insert grids at the end as a block.

Parameters
grid1, …, gridNRectGrid

The grids to be appended to self.

Returns
newgridRectGrid

The enlarged grid.

See also

insert

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.]
)