Finding candidate materials for the first wall of fusion reactors by an inverse strategy