walberla::simd::scalar::double4_t Class Reference

#include <Scalar.h>

Public Member Functions

 double4_t ()
 
 double4_t (double v3, double v2, double v1, double v0)
 
double operator[] (unsigned int i) const
 
double & operator[] (unsigned int i)
 
uint64_t asUInt (unsigned int i) const
 
uint64_tasUInt (unsigned int i)
 
double4_t operator+ (const double4_t &o) const
 
double4_t operator- (const double4_t &o) const
 
double4_t operator* (const double4_t &o) const
 
double4_t operator/ (const double4_t &o) const
 

Private Attributes

union {
   double   data [4]
 
   uint64_t   uintData [4]
 
}; 
 

Constructor & Destructor Documentation

◆ double4_t() [1/2]

walberla::simd::scalar::double4_t::double4_t ( )
inline

◆ double4_t() [2/2]

walberla::simd::scalar::double4_t::double4_t ( double  v3,
double  v2,
double  v1,
double  v0 
)
inline

Member Function Documentation

◆ asUInt() [1/2]

uint64_t& walberla::simd::scalar::double4_t::asUInt ( unsigned int  i)
inline

◆ asUInt() [2/2]

uint64_t walberla::simd::scalar::double4_t::asUInt ( unsigned int  i) const
inline

◆ operator*()

double4_t walberla::simd::scalar::double4_t::operator* ( const double4_t o) const
inline

◆ operator+()

double4_t walberla::simd::scalar::double4_t::operator+ ( const double4_t o) const
inline

◆ operator-()

double4_t walberla::simd::scalar::double4_t::operator- ( const double4_t o) const
inline

◆ operator/()

double4_t walberla::simd::scalar::double4_t::operator/ ( const double4_t o) const
inline

◆ operator[]() [1/2]

double& walberla::simd::scalar::double4_t::operator[] ( unsigned int  i)
inline

◆ operator[]() [2/2]

double walberla::simd::scalar::double4_t::operator[] ( unsigned int  i) const
inline

Member Data Documentation

◆ @3

union { ... }

◆ data

double walberla::simd::scalar::double4_t::data[4]

◆ uintData

uint64_t walberla::simd::scalar::double4_t::uintData[4]

The documentation for this class was generated from the following file: