Khodor Sleiman

Yeah, that's the exact idea that I am trying to model, and I thought about using a VOF model, but my deadline is this week so I won't be able to execute that in time. 

In the loop I am assigning 1 to C_UDMI (and I assume that it is 0 before that), and then later I verify that  C_UDMI is equal to 1, so I don't think there should be any rounding errors. If i move the UDM checks outside the DEFINE_PROPERTY macro, how should I call it within DEFINE_PROPERTY later on?