chrono::ChOutputHDF5 Class Reference

Description

HDF5 Chrono output database.

#include <ChOutputHDF5.h>

Inheritance diagram for chrono::ChOutputHDF5:
Collaboration diagram for chrono::ChOutputHDF5:

Public Member Functions

 ChOutputHDF5 (const std::string &out_dir, const std::string &out_file_stem, Mode mode)
 Create an output DB in HDF5 format and associate it with an output file. More...
 
- Public Member Functions inherited from chrono::ChOutput
void Write (int frame, double time, const ChAssembly::Components &components)
 
void Write (int frame, double time, const std::vector< const ChAssembly::Components * > &components)
 

Additional Inherited Members

- Public Types inherited from chrono::ChOutput
enum  Format { Format::ASCII, Format::HDF5, Format::NONE }
 Output database type. More...
 
enum  Mode { Mode::FRAMES, Mode::SERIES }
 Output mode options. More...
 
- Static Public Member Functions inherited from chrono::ChOutput
static std::string GetFormatAsString (Format type)
 
static std::string GetModeAsString (Mode mode)
 
- Protected Member Functions inherited from chrono::ChOutput
 ChOutput (Mode mode)
 
- Protected Attributes inherited from chrono::ChOutput
Mode m_mode
 output mode
 
bool m_buf_allocated
 buffers allocated?
 
std::vector< double > m_time
 time series
 
std::vector< BodyBuffers > m_body_buf
 body buffers
 
std::vector< ShaftBuffers > m_shaft_buf
 shaft buffers
 
std::vector< JointBuffers > m_joint_buf
 joint buffers
 
std::vector< TSDABuffers > m_tsda_buf
 TSDA buffers.
 
std::vector< RSDABuffers > m_rsda_buf
 RSDA buffers.
 

Constructor & Destructor Documentation

◆ ChOutputHDF5()

chrono::ChOutputHDF5::ChOutputHDF5 ( const std::string &  out_dir,
const std::string &  out_file_stem,
Mode  mode 
)

Create an output DB in HDF5 format and associate it with an output file.

Note: the output file name will be <out_dir>/<out_file_stem>.<mode>.h5.


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