OMSimulatorLib
The OMSimulator project is a FMI-based co-simulation environment that supports ordinary (i.e., non-delayed) and TLM connections.
Namespaces | Classes | Typedefs | Enumerations | Functions
oms Namespace Reference

Namespaces

 ssd
 
 ssp
 

Classes

class  AlgLoop
 
class  BusConnector
 BusConnector. More...
 
class  Component
 
class  ComponentFMUCS
 
class  ComponentFMUME
 
class  ComponentTable
 
class  ComRef
 ComRef - component reference. More...
 
class  Connection
 ** More...
 
class  Connector
 Connector. More...
 
class  CSVReader
 
class  CSVWriter
 
class  DirectedGraph
 
class  Element
 Element. More...
 
class  ExternalModel
 
class  ExternalModelInfo
 External model info. More...
 
class  Flags
 
class  FMUInfo
 FMU info. More...
 
struct  KINSOL_USER_DATA
 
class  KinsolSolver
 
class  MatReader
 
struct  MatVer4Header
 
struct  MatVer4Matrix
 
class  MATWriter
 
class  Model
 
struct  oms_tlm_sigrefs_1d_cg_t
 
struct  oms_tlm_sigrefs_1d_fg_t
 
struct  oms_tlm_sigrefs_1d_t
 
struct  oms_tlm_sigrefs_2d_t
 
struct  oms_tlm_sigrefs_3d_cg_t
 
struct  oms_tlm_sigrefs_3d_fg_t
 
struct  oms_tlm_sigrefs_3d_t
 
struct  oms_tlm_sigrefs_signal_t
 
class  Option
 
struct  Parameter
 
class  ResultReader
 
class  ResultWriter
 
class  Scope
 
struct  Signal
 
class  SignalDerivative
 
union  SignalValue_t
 
class  StepSizeConfiguration
 
class  System
 
class  SystemSC
 
class  SystemTLM
 
class  SystemWC
 
class  TLMBusConnector
 TLMBusConnector. More...
 
class  Values
 
class  Variable
 
class  VoidWriter
 

Typedefs

typedef struct oms::KINSOL_USER_DATA KINSOL_USER_DATA
 
typedef enum oms::MatVer4Type_t MatVer4Type_t
 
typedef struct oms::MatVer4Header MatVer4Header
 
typedef struct oms::MatVer4Matrix MatVer4Matrix
 

Enumerations

enum  MatVer4Type_t { MatVer4Type_DOUBLE = 0, MatVer4Type_SINGLE = 10, MatVer4Type_INT32 = 20, MatVer4Type_CHAR = 51 }
 
enum  SignalType_t { SignalType_REAL, SignalType_INT, SignalType_BOOL }
 

Functions

void fmiLogger (jm_callbacks *c, jm_string module, jm_log_level_enu_t log_level, jm_string message)
 
void fmi2logger (fmi2_component_environment_t env, fmi2_string_t instanceName, fmi2_status_t status, fmi2_string_t category, fmi2_string_t message,...)
 
bool operator== (const ComRef &lhs, const ComRef &rhs)
 
bool operator!= (const ComRef &lhs, const ComRef &rhs)
 
bool operator< (const ComRef &lhs, const ComRef &rhs)
 
bool operator== (const Connection &lhs, const Connection &rhs)
 
bool operator!= (const Connection &lhs, const Connection &rhs)
 
bool operator== (const Connector &v1, const Connector &v2)
 
bool operator!= (const Connector &v1, const Connector &v2)
 
size_t sizeofMatVer4Type (MatVer4Type_t type)
 
void writeMatVer4Matrix (FILE *file, const char *name, size_t rows, size_t cols, const void *matrixData, MatVer4Type_t type)
 
void appendMatVer4Matrix (FILE *file, long position, const char *name, size_t rows, size_t cols, const void *matrixData, MatVer4Type_t type)
 
MatVer4MatrixreadMatVer4Matrix (FILE *file)
 
void freeMatVer4Matrix (MatVer4Matrix **matrix)
 
void skipMatVer4Matrix (FILE *file)
 
int cvode_rhs (realtype t, N_Vector y, N_Vector ydot, void *user_data)
 
bool operator== (const oms::Variable &v1, const oms::Variable &v2)
 
bool operator!= (const oms::Variable &v1, const oms::Variable &v2)
 

Typedef Documentation

◆ KINSOL_USER_DATA

◆ MatVer4Header

◆ MatVer4Matrix

◆ MatVer4Type_t

Enumeration Type Documentation

◆ MatVer4Type_t

Enumerator
MatVer4Type_DOUBLE 
MatVer4Type_SINGLE 
MatVer4Type_INT32 
MatVer4Type_CHAR 

◆ SignalType_t

Enumerator
SignalType_REAL 
SignalType_INT 
SignalType_BOOL 

Function Documentation

◆ appendMatVer4Matrix()

void oms::appendMatVer4Matrix ( FILE *  file,
long  position,
const char *  name,
size_t  rows,
size_t  cols,
const void *  matrixData,
MatVer4Type_t  type 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ cvode_rhs()

int oms::cvode_rhs ( realtype  t,
N_Vector  y,
N_Vector  ydot,
void *  user_data 
)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ fmi2logger()

void oms::fmi2logger ( fmi2_component_environment_t  env,
fmi2_string_t  instanceName,
fmi2_status_t  status,
fmi2_string_t  category,
fmi2_string_t  message,
  ... 
)
Here is the caller graph for this function:

◆ fmiLogger()

void oms::fmiLogger ( jm_callbacks *  c,
jm_string  module,
jm_log_level_enu_t  log_level,
jm_string  message 
)
Here is the caller graph for this function:

◆ freeMatVer4Matrix()

void oms::freeMatVer4Matrix ( MatVer4Matrix **  matrix)
Here is the caller graph for this function:

◆ operator!=() [1/4]

bool oms::operator!= ( const ComRef lhs,
const ComRef rhs 
)

◆ operator!=() [2/4]

bool oms::operator!= ( const Connection lhs,
const Connection rhs 
)
inline

◆ operator!=() [3/4]

bool oms::operator!= ( const Connector v1,
const Connector v2 
)

◆ operator!=() [4/4]

bool oms::operator!= ( const oms::Variable v1,
const oms::Variable v2 
)

◆ operator<()

bool oms::operator< ( const ComRef lhs,
const ComRef rhs 
)
Here is the call graph for this function:

◆ operator==() [1/4]

bool oms::operator== ( const ComRef lhs,
const ComRef rhs 
)
Here is the call graph for this function:

◆ operator==() [2/4]

bool oms::operator== ( const Connection lhs,
const Connection rhs 
)
inline
Here is the call graph for this function:

◆ operator==() [3/4]

bool oms::operator== ( const Connector v1,
const Connector v2 
)
Here is the call graph for this function:

◆ operator==() [4/4]

bool oms::operator== ( const oms::Variable v1,
const oms::Variable v2 
)

◆ readMatVer4Matrix()

oms::MatVer4Matrix * oms::readMatVer4Matrix ( FILE *  file)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ sizeofMatVer4Type()

size_t oms::sizeofMatVer4Type ( MatVer4Type_t  type)
Here is the caller graph for this function:

◆ skipMatVer4Matrix()

void oms::skipMatVer4Matrix ( FILE *  file)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ writeMatVer4Matrix()

void oms::writeMatVer4Matrix ( FILE *  file,
const char *  name,
size_t  rows,
size_t  cols,
const void *  matrixData,
MatVer4Type_t  type 
)
Here is the call graph for this function:
Here is the caller graph for this function: