chrono::ChOutputASCII Class Reference
Description
ASCII text Chrono output database.
#include <ChOutputASCII.h>
Inheritance diagram for chrono::ChOutputASCII:

Collaboration diagram for chrono::ChOutputASCII:

Public Member Functions | |
| ChOutputASCII (const std::string &out_dir, const std::string &out_file_stem, Mode mode) | |
| Create an output DB in ASCII format and associate it with an output file. More... | |
| ChOutputASCII (std::ostream &stream, Mode mode) | |
| Create an output DB in ASCII format and associate it with the given output stream. | |
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
◆ ChOutputASCII()
| chrono::ChOutputASCII::ChOutputASCII | ( | const std::string & | out_dir, |
| const std::string & | out_file_stem, | ||
| Mode | mode | ||
| ) |
Create an output DB in ASCII format and associate it with an output file.
Note: the output file name will be <out_dir>/<out_file_stem>.<mode>.txt.
The documentation for this class was generated from the following files:
- /builds/uwsbel/chrono/src/chrono/input_output/ChOutputASCII.h
- /builds/uwsbel/chrono/src/chrono/input_output/ChOutputASCII.cpp
Public Member Functions inherited from