SUNphi  1.0
SUNphi::_RelBindInternalChecks Namespace Reference

Internal checks. More...

Classes

struct  Tc1
 
struct  Tc2
 

Typedefs

using Tk = TensKind< Tc1, Tc2 >
 TensorKind of the expression.
 
using T = Tens< Tk, double >
 Tensor class of the expression.
 

Functions

Conditional< 0, decltype(maybeUnused(NNTC1)), void > maybeUnusedFD ()
 
template<typename T >
decltype(auto) tc1 (T &&ref, const int id)
 
template<typename T >
decltype(auto) tc2 (T &&ref, const int id)
 
template<typename T >
T wire (T t)
 Function returning the argument. More...
 

Variables

constexpr const int NNTC1 = 1
 
constexpr const int NNTC2 = 2
 

Detailed Description

Internal checks.

Function Documentation

Conditional< 0, decltype(maybeUnused(NNTC2)), void > SUNphi::_RelBindInternalChecks::maybeUnusedFD ( )

Forward declaration of a dummy function, used to suppress "Unused variable" warning

Returns
the type of NNTC1

Forward declaration of a dummy function, used to suppress "Unused variable" warning

Returns
the type of NNTC2
template<typename T >
decltype(auto) SUNphi::_RelBindInternalChecks::tc1 ( T &&  ref,
const int  id 
)

Get a reference to the Tc1 component id of ref

Parameters
refQuantity to be bind
idComponent to bind

Definition at line 253 of file RelBind.hpp.

template<typename T >
decltype(auto) SUNphi::_RelBindInternalChecks::tc2 ( T &&  ref,
const int  id 
)

Get a reference to the Tc2 component id of ref

Parameters
refQuantity to be bind
idComponent to bind

Definition at line 255 of file RelBind.hpp.

template<typename T >
T SUNphi::_RelBindInternalChecks::wire ( T  t)

Function returning the argument.

Parameters
tArgument to be returned

Definition at line 267 of file RelBind.hpp.

Variable Documentation

constexpr const int SUNphi::_RelBindInternalChecks::NNTC1 = 1

Maximal value for TensKind of type Tc1

Definition at line 253 of file RelBind.hpp.

constexpr const int SUNphi::_RelBindInternalChecks::NNTC2 = 2

Maximal value for TensKind of type Tc2

Definition at line 255 of file RelBind.hpp.