Table of Contents

SteereoWrapper

Description

The wrapper functions for Fortran 90/95 and C are contained in steereoWrapper.cpp and steereoWrapper.h. An example for the use of it can be seen in the Fortran / C section. Here I will list the available functions and their pendants.

Important Functions

SimSteering

You provide the instance you want to use usually as first parameter (ssID).

ClientSteering

You provide the instance you want to use usually as first parameter (csID). The only thing that is a little bit more complicated is the registration of a response handler, as there are problems to pass a Fortran function. Therefore you have to specify a command, from which the execute method will serve as the response handler.

SteereoSocketCommunicator

The Wrapper for SteereoSocketCommunicator lets you create and delete instances.

SteereoMPICommunicator

Also available is a communicator using MPI SteereoMPICommunicator, although at the moment only MPICH2 seems to support the used MPI commands (OpenMPI has problem with MPI calls in threads, and Intel MPI hasn't implemented some of the needed commands)

SteereoMPIIntraCommunicator

For internal communication inside a simulation partition a SteereoMPIIntraCommunicator is at the moment the only choice.

SteereoCommand

Some functions to add data (and its size), that should be passed on to the specified SteereoCommand.

SteerParameterCommand

As there is no template support in Fortran you have to choose the appropriate function yourself, with which you register your parameter to SteerParameterCommand.

Other Functions