OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
Functions
AlgLoop.cpp File Reference
#include "AlgLoop.h"
#include "Component.h"
#include "DirectedGraph.h"
#include "Flags.h"
#include "System.h"
Include dependency graph for AlgLoop.cpp:

Functions

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

Function Documentation

◆ checkFlag()

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

Check flag returned by KINSOL function and log error.

Parameters
flagFlag with some error value retured by KINSOL function
functionNameName of KINSOL function that returned the flag
Returns
true The flag was no error code
false The flag was an error code
Here is the caller graph for this function: