[戻り値] ・true --> 計算を実行した場合。 ・false -> 計算不可能の場合、または計算済みの場合。Calculate between "_currentTime" and "_terminalTime". In classes derived from class Element, its definition should be given. Calculation by "_terminalTime" is performed using "calculate()", "calculateTimeStep()", etc. First, if return value of "canYouCalculate()" becomes "false", it will be judged that a calculation start is impossible, "false" is returned. When the return value is "true", "calculate()" and "_currentTime += _timeStep" are repeated and performed, as long as the return value of "canYouCalculate" is "true". Finally, "setDataPackArray()" and "reportToSender()" are performed and "true" is returned.
[RETURN] ・true --> When calculation was performed. ・false -> When calculation is impossible. When calculation has finished.
a bool value
例外の種類 | 条件 |
---|---|
OhCannotGetDataError | if an error occurs |
OhError | if an error occurs |
OhElement クラス | OhymosNet 名前空間