Description

Base class for a Chrono output database.

#include <ChOutput.h>

Inheritance diagram for chrono::ChOutput:

Public Types

enum class  Type { ASCII , HDF5 , NONE }
 Output type. Currently supported options are ASCII and HDF5. More...
 
enum class  Mode { FRAMES , SERIES }
 Output mode options. More...
 

Public Member Functions

virtual void Initialize ()=0
 
virtual void WriteTime (int frame, double time)=0
 
virtual void WriteSection (const std::string &name)=0
 
virtual void WriteBodies (const std::vector< std::shared_ptr< ChBody > > &bodies)=0
 
virtual void WriteMarkers (const std::vector< std::shared_ptr< ChMarker > > &markers)=0
 
virtual void WriteShafts (const std::vector< std::shared_ptr< ChShaft > > &shafts)=0
 
virtual void WriteJoints (const std::vector< std::shared_ptr< ChLink > > &joints)=0
 
virtual void WriteCouples (const std::vector< std::shared_ptr< ChShaftsCouple > > &couples)=0
 
virtual void WriteLinSprings (const std::vector< std::shared_ptr< ChLinkTSDA > > &springs)=0
 
virtual void WriteRotSprings (const std::vector< std::shared_ptr< ChLinkRSDA > > &springs)=0
 
virtual void WriteBodyBodyLoads (const std::vector< std::shared_ptr< ChLoadBodyBody > > &loads)=0
 
virtual void WriteLinMotors (const std::vector< std::shared_ptr< ChLinkMotorLinear > > &motors)=0
 
virtual void WriteRotMotors (const std::vector< std::shared_ptr< ChLinkMotorRotation > > &motors)=0
 

Static Public Member Functions

static std::string GetOutputTypeAsString (Type type)
 
static std::string GetOutputModeAsString (Mode mode)
 

Member Enumeration Documentation

◆ Mode

enum class chrono::ChOutput::Mode
strong

Output mode options.

  • FRAMES: output is organized in groups for each seperate frame; suitable for postprocessing (e.g., rendering).
  • SERIES: output is organized by model components, each of them containing time-series for their various output quantities; suitable for plotting results.
Enumerator
FRAMES 

organize output on a frame-by-frame basis

SERIES 

organize output on component-by-component basis

◆ Type

enum class chrono::ChOutput::Type
strong

Output type. Currently supported options are ASCII and HDF5.

Enumerator
ASCII 

ASCII text.

HDF5 

HDF-5.

NONE 

no output


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