the MaskFromBoundaryTag function didn't make much sense. The argument function_space is replaced by domain.