Programming the microstructure of magnetic nanocomposites in DLP 3D printing