have considered using condition in SWAK functions?
i want to know applying conditions on time in SWAK function postProcessing is applicable or not?(in one time period have one expression to be calculated and another expression in another time period)
|
Hi Ehsan,
How about giving an example of what you want to do, already in code? Best regards, Bruno |
Hi Bruno
like this: Code:
totalPressure_left |
Hi Ehsan,
Sorry, no time to test this myself. My guess is that if you can add 2 fields directly on the resulting expression, then you should be able to use a condition as well. Best regards, Bruno |
Quote:
- both expression have to give the same result type otherwise the parser will throw up (can't switch from vector to scalar) - internally BOTH expressions are evaluated, but only the one that fits the condition is used (apart from taking a bit more time this can lead to problems if the expression that is not used with the current condition is mathematically invalid. "log(time()-0.002)" in your example for instance) Quote:
|
All times are GMT -4. The time now is 12:24. |