Hello,
I would like to create a variable that accumulates or counts the number of times a condition is satisfied. I need the cumulative value as it will also retro-feed the simulation. In other words, Every certain number of times it will change a parameter. Something like:
a = a + if(dl.Hp>5,1,0).
Is this possible in COMSOL ?