chrono::ChFmuWrapper Class Referenceabstract

Description

Abstract interface to a model exchange FMU.

#include <ChExternalFmu.h>

Inherited by chrono::ChFmu2Wrapper, and chrono::ChFmu3Wrapper.

Public Member Functions

virtual void SetDebugLogging (bool logging, const std::vector< std::string > &log_categories)=0
 
virtual unsigned int GetNumStates () const =0
 
virtual std::unordered_set< std::string > GetStatesList () const =0
 
virtual std::unordered_set< std::string > GetRealParametersList () const =0
 
virtual std::unordered_set< std::string > GetIntParametersList () const =0
 
virtual std::unordered_set< std::string > GetRealInputsList () const =0
 
virtual void Initialize (const std::unordered_map< std::string, double > &initial_conditions, const std::unordered_map< std::string, double > &parameters_real, const std::unordered_map< std::string, int > &parameters_int)=0
 
virtual bool checkState (const std::string &name, std::string &err_msg) const =0
 
virtual bool checkInput (const std::string &name, std::string &err_msg) const =0
 
virtual bool checkParamReal (const std::string &name, std::string &err_msg) const =0
 
virtual bool checkParamInt (const std::string &name, std::string &err_msg) const =0
 
virtual void SetInputs (const std::unordered_map< std::string, double > &inputs_real)=0
 
virtual void SetContinuousStates (const std::vector< double > &states)=0
 
virtual void GetContinuousStates (std::vector< double > &states)=0
 
virtual void GetContinuousDerivatives (std::vector< double > &derivs)=0
 
virtual void PrintFmuVariables () const =0
 

The documentation for this class was generated from the following file:
  • /builds/uwsbel/chrono/src/chrono_fmi/ChExternalFmu.h