I think a mindfulness teacher would describe what you refer to as flow as absorbed awareness. The alternative would be panoramic awareness, where you aren't just focused on one thing (the problem you're solving) but you are aware of everything that is going on in the moment.