chrono::fsi::ChFsiTypeConvert Class Reference

Description

Class for converting Chrono data structure to/from FSI data structure.

#include <ChFsiTypeConvert.h>

Static Public Member Functions

static ChVector Real3ToChVector (Real3 p3)
 Converts a Real3 data structure to a ChVector data structure.
 
static ChVector Real4ToChVector (Real4 p4)
 Converts the first 3 arguments of a Real4 data structure to a ChVector data structure.
 
static ChQuaternion Real4ToChQuaternion (Real4 q4)
 Converts a Real4 data structure to a ChQuaternion data structure.
 
static Real3 ChVectorToReal3 (ChVector<> v3)
 Converts a ChVector data structure to a Real3 data structure.
 
static Real4 ChVectorRToReal4 (ChVector<> v3, Real m)
 Converts a ChVector and a scalar to a Real4 data structure.
 
static Real4 ChQuaternionToReal4 (ChQuaternion<> q4)
 Converts a ChQuaternion data structure to a Real4 data structure.