In my opinion, you have options to put the global_count in Destroy() or in if(!opaque){}. Both of them are only called once throughout the whole transient simulation.
Destroy() at the end of sim
if(!opaque){} at the t = 0;
In my opinion, you have options to put the global_count in Destroy() or in if(!opaque){}. Both of them are only called once throughout the whole transient simulation.
Destroy() at the end of sim
if(!opaque){} at the t = 0;