Light-flow characterization and manipulation in 1 and 2-dimensional photonic crystals door