QDP++
qdp_scalarvec_specific.h File Reference

Outer/inner lattice routines specific to a scalarvec platform. More...

Go to the source code of this file.

Classes

struct  QDP::FnMap
class  QDP::Map
 General permutation map class for communications. More...
class  QDP::ArrayMap
 Array of general permutation map class for communications. More...
class  QDP::BiDirectionalMap
 BiDirectional of general permutation map class for communications. More...
class  QDP::ArrayBiDirectionalMap
 ArrayBiDirectional of general permutation map class for communications. More...

Namespaces

namespace  QDP
 Yet another random number generator.
namespace  QDP::Layout
 Layout namespace holding info on problem size and machine info.
namespace  QDP::QDPInternal
namespace  QDP::RNG
 Random number generator namespace.

Macros

#define QDP_NOT_IMPLEMENTED

Functions

LatticeInteger QDP::Layout::latticeCoordinate (int mu)
 coord[mu] <- mu : fill with lattice coord in mu direction
int QDP::Layout::outerSitesOnNode ()
 Subgrid lattice volume.
template<class T>
void QDP::QDPInternal::globalSumArray (T *dest, int n)
 Dummy array sum accross all nodes.
template<class T>
void QDP::QDPInternal::globalSumArray (multi1d< T > &dest)
 Global sum on a multi1d.
template<class T>
void QDP::QDPInternal::globalSumArray (multi2d< T > &dest)
 Global sum on a multi2d.
template<class T>
void QDP::QDPInternal::globalSum (T &dest)
 Sum across all nodes.
template<class T>
void QDP::QDPInternal::broadcast (T &dest)
 Broadcast from primary node to all other nodes.
template<>
void QDP::QDPInternal::broadcast (std::string &dest)
void QDP::QDPInternal::broadcast_str (std::string &result)
 Broadcast a string from primary node to all other nodes.
void QDP::QDPInternal::broadcast (void *dest, size_t nbytes)
 Broadcast from primary node to all other nodes.
template<class T, class T1, class Op, class RHS>
void QDP::evaluate (OLattice< T > &dest, const Op &op, const QDPExpr< RHS, OScalar< T1 > > &rhs, const Subset &s)
 OLattice Op Scalar(Expression(source)) under an Subset.
template<class T, class T1, class Op, class RHS>
void QDP::evaluate (OLattice< T > &dest, const Op &op, const QDPExpr< RHS, OLattice< T1 > > &rhs, const Subset &s)
 OLattice Op OLattice(Expression(source)) under an Subset.
template<class T1, class T2>
void QDP::copymask (OSubLattice< T2 > d, const OLattice< T1 > &mask, const OLattice< T2 > &s1)
 dest = (mask) ? s1 : dest
template<class T1, class T2>
void QDP::copymask (OLattice< T2 > &dest, const OLattice< T1 > &mask, const OLattice< T2 > &s1)
 dest = (mask) ? s1 : dest
template<class T>
void QDP::random (OScalar< T > &d)
 dest = random
template<class T>
void QDP::random (OLattice< T > &d, const Subset &s)
 dest = random under a subset
template<class T>
void QDP::random (const OSubLattice< T > &dd)
 dest = random under a subset
template<class T>
void QDP::random (OLattice< T > &d)
 dest = random
template<class T>
void QDP::gaussian (OLattice< T > &d, const Subset &s)
 dest = gaussian under a subset
template<class T>
void QDP::gaussian (const OSubLattice< T > &dd)
 dest = gaussian under a subset
template<class T>
void QDP::gaussian (OLattice< T > &d)
 dest = gaussian
template<class T>
void QDP::zero_rep (OLattice< T > &dest, const Subset &s)
 dest = 0
template<class T>
void QDP::zero_rep (OSubLattice< T > dd)
 dest = 0
template<class T>
void QDP::zero_rep (OLattice< T > &dest)
 dest = 0
template<class RHS, class T>
UnaryReturn< OScalar< T >, FnSum >::Type_t QDP::sum (const QDPExpr< RHS, OScalar< T > > &s1, const Subset &s)
 OScalar = sum(OScalar) under an explicit subset.
template<class RHS, class T>
UnaryReturn< OScalar< T >, FnSum >::Type_t QDP::sum (const QDPExpr< RHS, OScalar< T > > &s1)
 OScalar = sum(OScalar).
template<class RHS, class T>
UnaryReturn< OLattice< T >, FnSum >::Type_t QDP::sum (const QDPExpr< RHS, OLattice< T > > &s1, const Subset &s)
 OScalar = sum(OLattice) under an explicit subset.
template<class RHS, class T>
UnaryReturn< OLattice< T >, FnSum >::Type_t QDP::sum (const QDPExpr< RHS, OLattice< T > > &s1)
 OScalar = sum(OLattice).
template<class RHS, class T>
multi1d< typename UnaryReturn< OScalar< T >, FnSum >::Type_tQDP::sumMulti (const QDPExpr< RHS, OScalar< T > > &s1, const Set &ss)
 multi2d<OScalar> dest = sumMulti(multi1d<OScalar>,Set)
template<class RHS, class T>
UnaryReturn< OLattice< T >, FnSumMulti >::Type_t QDP::sumMulti (const QDPExpr< RHS, OLattice< T > > &s1, const Set &ss)
 multi1d<OScalar> dest = sumMulti(OLattice,Set)
template<class T>
multi2d< typename UnaryReturn< OScalar< T >, FnSum >::Type_tQDP::sumMulti (const multi1d< OScalar< T > > &s1, const Set &ss)
 multi2d<OScalar> dest = sumMulti(multi1d<OScalar>,Set)
template<class T>
multi2d< typename UnaryReturn< OLattice< T >, FnSum >::Type_tQDP::sumMulti (const multi1d< OLattice< T > > &s1, const Set &ss)
 multi2d<OScalar> dest = sumMulti(multi1d<OLattice>,Set)
template<class T>
UnaryReturn< OScalar< T >, FnNorm2 >::Type_t QDP::norm2 (const multi1d< OScalar< T > > &s1)
 OScalar = norm2(trace(adj(multi1d<source>)*multi1d<source>)).
template<class T>
UnaryReturn< OScalar< T >, FnNorm2 >::Type_t QDP::norm2 (const multi1d< OScalar< T > > &s1, const Subset &s)
 OScalar = sum(OScalar) under an explicit subset.
template<class T>
UnaryReturn< OLattice< T >, FnNorm2 >::Type_t QDP::norm2 (const multi1d< OLattice< T > > &s1, const Subset &s)
 OScalar = norm2(multi1d<OLattice>) under an explicit subset.
template<class T>
UnaryReturn< OLattice< T >, FnNorm2 >::Type_t QDP::norm2 (const multi1d< OLattice< T > > &s1)
 OScalar = norm2(multi1d<OLattice>).
multi1d< int > QDP::crtesn (int ipos, const multi1d< int > &latt_size)
 Decompose a lexicographic site into coordinates.
template<class T>
XMLWriterQDP::operator<< (XMLWriter &xml, const OLattice< T > &d)
 XML output.
template<class T>
void QDP::write (BinaryWriter &bin, const OScalar< T > &d)
 Binary output.
template<class T>
void QDP::write (BinaryWriter &bin, const OLattice< T > &d)
 Binary output.
template<class T>
void QDP::write (BinaryWriter &bin, const OLattice< T > &d, const multi1d< int > &coord)
 Write a single site of a lattice quantity.
template<class T>
void QDP::read (BinaryReader &bin, OScalar< T > &d)
 Binary input.
template<class T>
void QDP::read (BinaryReader &bin, OLattice< T > &d)
 Binary input.
template<class T>
void QDP::read (BinaryReader &bin, OLattice< T > &d, const multi1d< int > &coord)
 Read a single site of a lattice quantity.

Detailed Description

Outer/inner lattice routines specific to a scalarvec platform.

Definition in file qdp_scalarvec_specific.h.

Macro Definition Documentation

◆ QDP_NOT_IMPLEMENTED

#define QDP_NOT_IMPLEMENTED

Definition at line 59 of file qdp_scalarvec_specific.h.