Description

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

#include <ChUtilsTypeConvert.h>

Static Public Member Functions

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

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