mbsiminterface  1.0.0
MBSim Interface Module
Public Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
MBSimInterface::InterfaceIntegrator Class Reference

Dummy-Integrator InterfaceIntegrator This integrator is an interface for other integration tool. More...

#include <interface_integrator.h>

Inheritance diagram for MBSimInterface::InterfaceIntegrator:
[legend]

Public Member Functions

void setMBSimServer (MBSimServer *m_)
 
void integrate () override
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
void integratorCommunication (const char *requestIdentifier, const char *interface2mbsim, unsigned int interface2mbsimLength, std::ostringstream *mbsim2interface)
 
bool getExitRequest ()
 
- Public Member Functions inherited from MBSim::Integrator
void execute () override
 
void integrate (MBSim::DynamicSystemSolver &sys)
 
void debugInit ()
 
void initializeUsingXML (xercesc::DOMElement *element) override
 
- Public Member Functions inherited from fmatvec::Atom
Atom & operator= (const Atom &)
 
void setMessageStreamActive (MsgType type, bool activeFlag)
 
void getMessageStream (MsgType type, std::shared_ptr< bool > &a, std::shared_ptr< std::ostream > &s) const
 
void adoptMessageStreams (const Atom *src=nullptr)
 
std::ostream & msg (MsgType type) const
 
bool msgAct (MsgType type) const
 

Protected Attributes

std::ofstream integPlot
 
- Protected Attributes inherited from MBSim::Integrator
double tStart
 
fmatvec::Vec z0
 
std::string name
 
- Protected Attributes inherited from MBSim::Solver
MBSim::DynamicSystemSolver * system
 
MBXMLUtils::DOMEvalException domEvalError
 

Private Member Functions

void getz (double **z_)
 
void getzdot (double **zdot_)
 
void getsv (double **sv_)
 
void setTime (double t_)
 
void setz (const fmatvec::Vec &z_)
 
void dumpMemory (std::ostringstream *out, void *p, unsigned int N)
 
void double2str (std::ostringstream *out, double *p, unsigned int N)
 
void int2str (std::ostringstream *out, int *p, unsigned int N)
 
void resolveInputOutputNames ()
 

Private Attributes

int zSize {0}
 
int svSize {0}
 
bool printCommunication {true}
 
bool exitRequest {false}
 
MBSimServer * mbsimServer
 
std::vector< std::string > outputSignalRef
 
std::vector< std::string > inputSignalRef
 
std::vector< std::string > outputSignalName
 
std::vector< std::string > inputSignalName
 
std::vector< MBSimControl::Signal * > outputSignal
 
std::vector< MBSimControl::ExternSignalSource * > inputSignal
 
fmatvec::VecInt outputSignalSize
 
fmatvec::VecInt inputSignalSize
 
fmatvec::Vec outputVector
 
fmatvec::Vec inputVector
 

Additional Inherited Members

- Public Types inherited from fmatvec::Atom
enum  MsgType
 
- Static Public Member Functions inherited from fmatvec::Atom
static void setCurrentMessageStream (MsgType type, const std::shared_ptr< bool > &a=std::make_shared< bool >(true), const std::shared_ptr< std::ostream > &s=std::make_shared< std::ostream >(std::cout.rdbuf()))
 
static std::ostream & msgStatic (MsgType type)
 
static bool msgActStatic (MsgType type)
 
- Protected Member Functions inherited from fmatvec::Atom
 Atom (const Atom &src)
 

Detailed Description

Dummy-Integrator InterfaceIntegrator This integrator is an interface for other integration tool.


The documentation for this class was generated from the following files: