Magmatic assimilation is the process where a magma body incorporates and melts surrounding rock material, which results in a modified chemical and mineralogical composition of the magma. This process can significantly influence the diversity and evolution of igneous rocks by introducing new elements and isotopes into the magmatic source.