def filter_ice_border(ice_thick):
    """Sets the ice thickness at the border of the domain to zero."""
    ice_thick[(0), :] = 0
    ice_thick[(-1), :] = 0
    ice_thick[:, (0)] = 0
    ice_thick[:, (-1)] = 0
    return ice_thick
