OMSimulatorLib The OMSimulator project is a FMI-based co-simulation environment.

Loading...
Searching...
No Matches
Functions
AlgLoop.cpp File Reference
`#include "AlgLoop.h"`
`#include "Component.h"`
`#include "DirectedGraph.h"`
`#include "Flags.h"`
`#include "System.h"`
`#include <sstream>`

## Functions
bool | checkFlag (int flag, std::string functionName)
| Check flag returned by KINSOL function and log error.

## Function Documentation

## ◆ checkFlag()

bool checkFlag | ( | int | flag,
|  | std::string | functionName
| ) |  |
| inline

Check flag returned by KINSOL function and log error.

Parameters

  flag | Flag with some error value retured by KINSOL function
  functionName | Name of KINSOL function that returned the flag

Returns
  true The flag was no error code
  false The flag was an error code