Use "if (DEBUG_MODE_ENABLED)" instead of "#ifdef DEBUG_MODE". This makes it easier to see the flow control logic, and the compiler will optimize out the always-false conditionals when DEBUG_MODE_ENABLED is 0, so there isn't any speed penalty. |
||
|---|---|---|
| .. | ||
| cantera | ||