Open Qmin  0.8.0
GPU-accelerated Q-tensor-based liquid crystal simulations
Public Member Functions | Public Attributes | List of all members
iVec Class Reference

iVec is an array of ints whose length matches the dimension of the system More...

#include <dDimensionalVectorTypes.h>

Public Member Functions

HOSTDEVICE iVec ()
 
HOSTDEVICE iVec (const int value)
 
HOSTDEVICE iVec (const iVec &other)
 
HOSTDEVICE int & operator[] (int i)
 
iVecoperator= (const iVec &other)
 
iVecoperator-= (const iVec &other)
 
iVecoperator+= (const iVec &other)
 

Public Attributes

int x [DIMENSION]
 

Detailed Description

iVec is an array of ints whose length matches the dimension of the system

Constructor & Destructor Documentation

◆ iVec() [1/3]

HOSTDEVICE iVec::iVec ( )
inline

◆ iVec() [2/3]

HOSTDEVICE iVec::iVec ( const int  value)
inline

References x.

◆ iVec() [3/3]

HOSTDEVICE iVec::iVec ( const iVec other)
inline

References x.

Member Function Documentation

◆ operator[]()

HOSTDEVICE int& iVec::operator[] ( int  i)
inline

References x.

◆ operator=()

iVec& iVec::operator= ( const iVec other)
inline

References x.

◆ operator-=()

iVec& iVec::operator-= ( const iVec other)
inline

References x.

◆ operator+=()

iVec& iVec::operator+= ( const iVec other)
inline

References x.

Member Data Documentation

◆ x

int iVec::x[DIMENSION]

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