ESyS-Particle  2.3.4
esys::lsm::Vec3L Class Reference

#include <Vec3L.h>

Public Types

typedef long Long
 

Public Member Functions

 Vec3L ()
 
 Vec3L (Long x, Long y, Long z)
 
 Vec3L (const Vec3L &vec)
 
 ~Vec3L ()
 
Vec3Loperator= (const Vec3L &vec)
 
bool operator== (const Vec3L &vec) const
 
Longoperator[] (int idx)
 
const Longoperator[] (int idx) const
 
Vec3L operator- (Long val) const
 
Vec3L operator+ (Long val) const
 
const LongX () const
 
LongX ()
 
const LongY () const
 
LongY ()
 
const LongZ () const
 
LongZ ()
 
Vec3L min (const Vec3L &vec) const
 
Vec3L max (const Vec3L &vec) const
 

Private Attributes

Long m_data [3]
 

Detailed Description

Author
Shane J Latham

Member Typedef Documentation

◆ Long

typedef long esys::lsm::Vec3L::Long

Constructor & Destructor Documentation

◆ Vec3L() [1/3]

esys::lsm::Vec3L::Vec3L ( )
inline

References m_data.

Referenced by max(), min(), operator+(), and operator-().

Here is the caller graph for this function:

◆ Vec3L() [2/3]

esys::lsm::Vec3L::Vec3L ( Long  x,
Long  y,
Long  z 
)
inline

References m_data.

◆ Vec3L() [3/3]

esys::lsm::Vec3L::Vec3L ( const Vec3L vec)
inline

References m_data.

◆ ~Vec3L()

esys::lsm::Vec3L::~Vec3L ( )
inline

Member Function Documentation

◆ max()

Vec3L esys::lsm::Vec3L::max ( const Vec3L vec) const
inline

References m_data, and Vec3L().

Referenced by esys::lsm::CartesianGrid< Tensor >::getVecIndex(), and esys::lsm::CartesianGrid< Tensor >::initialise().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ min()

Vec3L esys::lsm::Vec3L::min ( const Vec3L vec) const
inline

References m_data, and Vec3L().

Here is the call graph for this function:

◆ operator+()

Vec3L esys::lsm::Vec3L::operator+ ( Long  val) const
inline

References m_data, and Vec3L().

Here is the call graph for this function:

◆ operator-()

Vec3L esys::lsm::Vec3L::operator- ( Long  val) const
inline

References m_data, and Vec3L().

Here is the call graph for this function:

◆ operator=()

Vec3L& esys::lsm::Vec3L::operator= ( const Vec3L vec)
inline

References m_data.

◆ operator==()

bool esys::lsm::Vec3L::operator== ( const Vec3L vec) const
inline

References m_data.

◆ operator[]() [1/2]

Long& esys::lsm::Vec3L::operator[] ( int  idx)
inline

References m_data.

◆ operator[]() [2/2]

const Long& esys::lsm::Vec3L::operator[] ( int  idx) const
inline

References m_data.

◆ X() [1/2]

Long& esys::lsm::Vec3L::X ( )
inline

References m_data.

◆ X() [2/2]

◆ Y() [1/2]

Long& esys::lsm::Vec3L::Y ( )
inline

References m_data.

◆ Y() [2/2]

◆ Z() [1/2]

Long& esys::lsm::Vec3L::Z ( )
inline

References m_data.

◆ Z() [2/2]

Member Data Documentation

◆ m_data

Long esys::lsm::Vec3L::m_data[3]
private

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