Grid 0.7.0
Representations< Reptypes > Class Template Reference

#include <hmc_types.h>

Public Types

typedef std::tuple< Reptypes... > Representation_type
typedef std::tuple< typename Reptypes::LatticeField... > Representation_Fields
template<std::size_t N>
using repr_type
typedef std::tuple_element< 0, Representation_Fields >::type LatticeSourceField

Public Member Functions

 Representations (GridBase *grid)
int size ()
template<std::size_t I = 0>
std::enable_if<(I==tuple_size), void >::type update (LatticeSourceField &U)
template<std::size_t I = 0>
std::enable_if<(I< tuple_size), void >::type update (LatticeSourceField &U)

Data Fields

Representation_type rep

Static Public Attributes

static const int tuple_size

Detailed Description

template<class... Reptypes>
class Representations< Reptypes >

Definition at line 19 of file hmc_types.h.

Member Typedef Documentation

◆ Representation_type

template<class... Reptypes>
typedef std::tuple<Reptypes...> Representations< Reptypes >::Representation_type

Definition at line 21 of file hmc_types.h.

◆ Representation_Fields

template<class... Reptypes>
typedef std::tuple<typename Reptypes::LatticeField...> Representations< Reptypes >::Representation_Fields

Definition at line 26 of file hmc_types.h.

◆ repr_type

template<class... Reptypes>
template<std::size_t N>
using Representations< Reptypes >::repr_type

Definition at line 30 of file hmc_types.h.

◆ LatticeSourceField

template<class... Reptypes>
typedef std::tuple_element<0,Representation_Fields>::type Representations< Reptypes >::LatticeSourceField

Definition at line 44 of file hmc_types.h.

Constructor & Destructor Documentation

◆ Representations()

template<class... Reptypes>
Representations< Reptypes >::Representations ( GridBase * grid)
inlineexplicit

Definition at line 37 of file hmc_types.h.

Member Function Documentation

◆ size()

template<class... Reptypes>
int Representations< Reptypes >::size ( )
inline

Definition at line 39 of file hmc_types.h.

◆ update() [1/2]

template<class... Reptypes>
template<std::size_t I = 0>
std::enable_if<(I==tuple_size), void >::type Representations< Reptypes >::update ( LatticeSourceField & U)
inline

Definition at line 47 of file hmc_types.h.

Referenced by Representations< FundamentalRepresentation >::update().

◆ update() [2/2]

template<class... Reptypes>
template<std::size_t I = 0>
std::enable_if<(I< tuple_size), void >::type Representations< Reptypes >::update ( LatticeSourceField & U)
inline

Definition at line 51 of file hmc_types.h.

Field Documentation

◆ tuple_size

template<class... Reptypes>
const int Representations< Reptypes >::tuple_size
static

Definition at line 24 of file hmc_types.h.

◆ rep

template<class... Reptypes>
Representation_type Representations< Reptypes >::rep

Definition at line 34 of file hmc_types.h.


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