Arrangement of rare-earth elements at prismatic grain boundaries in silicon nitride