Skip to content

bloqade.geometry.dialects.filled.get_parent

← Module overview

functionget_parentsource

bloqade.geometry.dialects.filled.get_parent

def get_parent(filled_grid: FilledGrid[Nx, Ny]) -> grid.Grid[Nx, Ny]

Retrieve the parent grid of a FilledGrid.

Parameters

NameTypeDescription
filled_gridFilledGrid[Nx, Ny]The FilledGrid whose parent grid is to be retrieved.

Returns

grid.Grid[Nx, Ny]The parent grid of the provided FilledGrid.

source