flag indicating whether visualization is used or not:
global flag in GlobalData Class