Grain boundary embrittlement as a function of boundary structure (energy)