You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If call ShowInfo and RaiseWarning e.g. in ResultsHandler for several time points, their log will be shown grouped by type, rather then successively. E.g.
void CUnitDAEModel::ResultsHandler(double _time, double* _vars, double* _ders, void* _unit)
{
unit->ShowInfo("Info" + to_string(_time) + "s...");
unit->RaiseWarning("Warning" + to_string(_time) + "s...");
}
will produce something like
Info 0s...
Info 1s...
Info 2s...
Info 3s...
Warning 0s...
Warning 1s...
Warning 2s...
Warning 3s...
instead of
Info 0s...
Warning 0s...
Info 1s...
Warning 1s...
Info 2s...
Warning 2s...
Info 3s...
Warning 3s...
The text was updated successfully, but these errors were encountered:
If call ShowInfo and RaiseWarning e.g. in ResultsHandler for several time points, their log will be shown grouped by type, rather then successively. E.g.
void CUnitDAEModel::ResultsHandler(double _time, double* _vars, double* _ders, void* _unit)
{
unit->ShowInfo("Info" + to_string(_time) + "s...");
unit->RaiseWarning("Warning" + to_string(_time) + "s...");
}
will produce something like
Info 0s...
Info 1s...
Info 2s...
Info 3s...
Warning 0s...
Warning 1s...
Warning 2s...
Warning 3s...
instead of
Info 0s...
Warning 0s...
Info 1s...
Warning 1s...
Info 2s...
Warning 2s...
Info 3s...
Warning 3s...
The text was updated successfully, but these errors were encountered: