def METHOD_NAME(self):
    # step 0. Check and update BCs
    if self._bc_set_code != self._grid.bc_set_code:
        self.updated_boundary_conditions()
        self._bc_set_code = self._grid.bc_set_code