Description

Chrono multicore qudruple (4-dimensional array).

#include <real4.h>

Public Member Functions

CUDA_HOST_DEVICE real4 (real a)
 
CUDA_HOST_DEVICE real4 (real a, real b, real c, real d)
 
CUDA_HOST_DEVICE real4 (const real3 &v, real w)
 
CUDA_HOST_DEVICE real4 (const real4 &v)
 
CUDA_HOST_DEVICE real operator[] (unsigned int i) const
 
CUDA_HOST_DEVICE real & operator[] (unsigned int i)
 
CUDA_HOST_DEVICE operator real * ()
 
CUDA_HOST_DEVICE operator const real * () const
 
CUDA_HOST_DEVICE operator real3 ()
 
CUDA_HOST_DEVICE operator const real3 () const
 
CUDA_HOST_DEVICE real4operator= (const real4 &rhs)
 

Public Attributes

union {
   real   array [4]
 
   struct {
      real   x
 
      real   y
 
      real   z
 
      real   w
 
   } 
 
}; 
 

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