is it possible to write a simple program in groovyBC according to C++ language?
the condition?expression1:expression2 makes limitations for me.I need more freedom in conditions.are we limited to groovyBC syntax or exists a way to extend this to if-elseif-else conditions?i need to set several conditions for all fractionExpression,valueExpression and gradientExpression.
|
i need to be certain.any answer?
|
Quote:
Code:
cond1 ? val1 : (cond2 ? val2 : val3) |
i said a simple example.my bc's are unfortunately much complicated.it should include sub or supersonic and inflow or outflow conditions at each patch.thanks.
|
Quote:
There is no simpler example Quote:
Code:
variables ( |
All times are GMT -4. The time now is 07:38. |