def METHOD_NAME(
    self, num_rows, num_cols, grid_orientation, node_layout, cts_type
):
    """Create the grid and the field containing node states."""
    if cts_type == "raster" or cts_type == "oriented_raster":
        from landlab import RasterModelGrid
        self.grid = RasterModelGrid(shape=(num_rows, num_cols), xy_spacing=1.0)
    else:
        from landlab import HexModelGrid
        self.grid = HexModelGrid(
            (num_rows, num_cols),
            spacing=1.0,
            orientation=grid_orientation,
            node_layout=node_layout,
        )
    self.grid.add_zeros("node_state", at="node", dtype=int)