QDP++
QDP::OLattice< T > Class Template Reference

Outer grid Lattice type. More...

#include <qdp_outer.h>

Inheritance diagram for QDP::OLattice< T >:
QDP::QDPType< T, OLattice< T > >

Public Member Functions

 OLattice ()
 ~OLattice ()
 OLattice (T *F, float f)
template<class T1>
 OLattice (const OScalar< T1 > &rhs)
 conversion by constructor OLattice<T> = OScalar<T1>
template<class T1>
 OLattice (const OLattice< T1 > &rhs)
 conversion by constructor OLattice<T> = OLattice<T1>
template<class RHS, class T1>
 OLattice (const QDPExpr< RHS, OLattice< T1 > > &rhs)
 conversion by constructor OLattice = Expr
 OLattice (const typename WordType< T >::Type_t &rhs)
 construct OLattice = const
 OLattice (const Zero &rhs)
 construct OLattice = 0
OLatticeoperator= (const typename WordType< T >::Type_t &rhs)
OLatticeoperator= (const Zero &rhs)
template<class T1, class C1>
OLatticeoperator= (const QDPType< T1, C1 > &rhs)
template<class T1, class C1>
OLatticeoperator= (const QDPExpr< T1, C1 > &rhs)
OLatticeoperator= (const OLattice &rhs)
template<class T1>
void operator= (const OSubLattice< T1 > &rhs)
OSubLattice< T > operator[] (const Subset &s)
 OLattice (const OLattice &rhs)
 Copy constructor.
T * getF () const
 The backdoor.
void moveToFastMemoryHint (bool copy=false)
void revertFromFastMemoryHint (bool copy=false)
T & elem (int i)
const T & elem (int i) const
void print_info (char *name)
 Debugging info.
Public Member Functions inherited from QDP::QDPType< T, OLattice< T > >
 QDPType ()
 Main constructor.
 ~QDPType ()
 Destructor.
OLattice< T > & assign (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator= (const QDPType &rhs)
 Use this for default operator=.
OLattice< T > & operator+= (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator-= (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator*= (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator/= (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator%= (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator|= (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator&= (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator^= (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator<<= (const typename WordType< OLattice< T > >::Type_t &rhs)
OLattice< T > & operator>>= (const typename WordType< OLattice< T > >::Type_t &rhs)
T & elem (int i)

Additional Inherited Members

Public Types inherited from QDP::QDPType< T, OLattice< T > >
typedef T Subtype_t
 Type of the first argument.
typedef OLattice< T > Container_t
 Type of the container class.

Detailed Description

template<class T>
class QDP::OLattice< T >

Outer grid Lattice type.

All outer lattices are of OScalar or OLattice type

Definition at line 263 of file qdp_outer.h.

Constructor & Destructor Documentation

◆ OLattice() [1/8]

template<class T>
QDP::OLattice< T >::OLattice ( )
inline

Definition at line 266 of file qdp_outer.h.

◆ ~OLattice()

template<class T>
QDP::OLattice< T >::~OLattice ( )
inline

Definition at line 270 of file qdp_outer.h.

◆ OLattice() [2/8]

template<class T>
QDP::OLattice< T >::OLattice ( T * F,
float f )
inline

Definition at line 276 of file qdp_outer.h.

◆ OLattice() [3/8]

template<class T>
template<class T1>
QDP::OLattice< T >::OLattice ( const OScalar< T1 > & rhs)
inline

conversion by constructor OLattice<T> = OScalar<T1>

Definition at line 282 of file qdp_outer.h.

◆ OLattice() [4/8]

template<class T>
template<class T1>
QDP::OLattice< T >::OLattice ( const OLattice< T1 > & rhs)
inline

conversion by constructor OLattice<T> = OLattice<T1>

Definition at line 291 of file qdp_outer.h.

◆ OLattice() [5/8]

template<class T>
template<class RHS, class T1>
QDP::OLattice< T >::OLattice ( const QDPExpr< RHS, OLattice< T1 > > & rhs)
inline

conversion by constructor OLattice = Expr

Definition at line 300 of file qdp_outer.h.

◆ OLattice() [6/8]

template<class T>
QDP::OLattice< T >::OLattice ( const typename WordType< T >::Type_t & rhs)
inline

construct OLattice = const

Definition at line 308 of file qdp_outer.h.

◆ OLattice() [7/8]

template<class T>
QDP::OLattice< T >::OLattice ( const Zero & rhs)
inline

construct OLattice = 0

Definition at line 318 of file qdp_outer.h.

◆ OLattice() [8/8]

template<class T>
QDP::OLattice< T >::OLattice ( const OLattice< T > & rhs)
inline

Copy constructor.

For now, a deep copy

Definition at line 377 of file qdp_outer.h.

Member Function Documentation

◆ elem() [1/2]

template<class T>
T & QDP::OLattice< T >::elem ( int i)
inline

Definition at line 400 of file qdp_outer.h.

Referenced by QDP::LeafFunctor< OLattice< T >, EvalLeaf1 >::apply(), QDP::PMatrix< typename SinglePrecType< T1 >::Type_t, N, C >::assign(), QDP::PVector< typename SinglePrecType< T1 >::Type_t, N, C >::assign(), QDP::copymask(), QDP::copymask(), QDP::copymask(), QDP::HDF5::CvtToHost(), QDP::HDF5::CvtToLayout(), QDP::ev_userfunc(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate(), QDP::evaluate_userfunc(), QDP::gaussian(), QDP::gaussian(), QDP::innerProduct(), QDP::innerProductReal(), QDP::isfinite(), QDP::isinf(), QDP::isnan(), QDP::isnormal(), QDP::Layout::latticeCoordinate(), QDP::norm2(), QDP::Map::operator()(), QDP::PMatrix< typename SinglePrecType< T1 >::Type_t, N, C >::operator+=(), QDP::PVector< typename SinglePrecType< T1 >::Type_t, N, C >::operator+=(), QDP::PMatrix< typename SinglePrecType< T1 >::Type_t, N, C >::operator-=(), QDP::PVector< typename SinglePrecType< T1 >::Type_t, N, C >::operator-=(), QDP::operator<<(), QDP::ordered_norm_single_func(), QDP::ordered_sse_vOp_evaluate_function(), QDP::ordered_vaxmby3_evaluate_function(), QDP::ordered_xOpayz_ig5_evaluate_function(), QDP::OSubLattice< typename SinglePrecType< T >::Type_t >::OSubLattice(), QDP::QDPType< typename UnaryReturn< T1, Op >::Type_t, typename UnaryReturn< C1, Op >::Type_t >::peekSite(), QDP::QDPType< typename UnaryReturn< T1, Op >::Type_t, typename UnaryReturn< C1, Op >::Type_t >::pokeSite(), QDP::QDPType< typename UnaryReturn< T1, Op >::Type_t, typename UnaryReturn< C1, Op >::Type_t >::pokeSite(), QDP::QDPType< typename UnaryReturn< T1, Op >::Type_t, typename UnaryReturn< C1, Op >::Type_t >::QDP_extract(), QDP::QDPType< typename UnaryReturn< T1, Op >::Type_t, typename UnaryReturn< C1, Op >::Type_t >::QDP_extract(), QDP::QDPType< typename UnaryReturn< T1, Op >::Type_t, typename UnaryReturn< C1, Op >::Type_t >::QDP_insert(), QDP::QDPType< typename UnaryReturn< T1, Op >::Type_t, typename UnaryReturn< C1, Op >::Type_t >::QDP_insert(), QDP::random(), QDP::read(), QDP::read(), QDP::LatticeTimeSliceIO::readSlice(), QDP::sumMulti(), QDP::unordered_sse_vaxOpyz4_double_evaluate_function(), QDP::unordered_vaxpy3_g5_evaluate_function(), QDP::unordered_vaxpy3_y_evaluate_function(), QDP::unordered_vcaxmy3_evaluate_function(), QDP::write(), QDP::write(), QDP::write(), QDP::LatticeTimeSliceIO::writeSlice(), QDP::LatticeTimeSliceIO::writeSlice(), QDP::zero_rep(), and QDP::zero_rep().

◆ elem() [2/2]

template<class T>
const T & QDP::OLattice< T >::elem ( int i) const
inline

Definition at line 401 of file qdp_outer.h.

◆ getF()

template<class T>
T * QDP::OLattice< T >::getF ( ) const
inline

The backdoor.

Used by optimization routines (e.g., SSE) that need the memory address of data. BTW: to make this a friend would be a real pain since functions are templatized.

Definition at line 390 of file qdp_outer.h.

Referenced by QDP::QDPFileReader::read(), QDP::QDPFileWriter::write(), and QDP::QDPFileWriter::write().

◆ moveToFastMemoryHint()

template<class T>
void QDP::OLattice< T >::moveToFastMemoryHint ( bool copy = false)
inline

Definition at line 393 of file qdp_outer.h.

◆ operator=() [1/6]

template<class T>
OLattice & QDP::OLattice< T >::operator= ( const OLattice< T > & rhs)
inline

Definition at line 356 of file qdp_outer.h.

◆ operator=() [2/6]

template<class T>
template<class T1>
void QDP::OLattice< T >::operator= ( const OSubLattice< T1 > & rhs)
inline

Definition at line 363 of file qdp_outer.h.

◆ operator=() [3/6]

template<class T>
template<class T1, class C1>
OLattice & QDP::OLattice< T >::operator= ( const QDPExpr< T1, C1 > & rhs)
inline

Definition at line 350 of file qdp_outer.h.

◆ operator=() [4/6]

template<class T>
template<class T1, class C1>
OLattice & QDP::OLattice< T >::operator= ( const QDPType< T1, C1 > & rhs)
inline

Definition at line 343 of file qdp_outer.h.

◆ operator=() [5/6]

template<class T>
OLattice & QDP::OLattice< T >::operator= ( const typename WordType< T >::Type_t & rhs)
inline

Definition at line 330 of file qdp_outer.h.

◆ operator=() [6/6]

template<class T>
OLattice & QDP::OLattice< T >::operator= ( const Zero & rhs)
inline

Definition at line 336 of file qdp_outer.h.

◆ operator[]()

template<class T>
OSubLattice< T > QDP::OLattice< T >::operator[] ( const Subset & s)
inline

Definition at line 371 of file qdp_outer.h.

◆ print_info()

template<class T>
void QDP::OLattice< T >::print_info ( char * name)
inline

Debugging info.

Definition at line 454 of file qdp_outer.h.

◆ revertFromFastMemoryHint()

template<class T>
void QDP::OLattice< T >::revertFromFastMemoryHint ( bool copy = false)
inline

Definition at line 396 of file qdp_outer.h.


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