The writing lasers form a grating by modulating density of matter or by localizing matter (trapping) on the regions of maxima (or minima) of the writing interference fields. A thermal grating is an example. Matter gratings have slow dynamics (milliseconds) compared to population and phase gratings (potentially nanoseconds and faster).