Bridge++  Ver. 2.0.2
afield-inc.h File Reference
#include <cstdlib>
#include "complexTraits.h"
#include "lib/ResourceManager/threadManager.h"
#include "lib_alt_QXS/inline/define_vlen.h"
#include "lib_alt_QXS/inline/afield_th-inc.h"

Go to the source code of this file.

Macros

#define AFIELD_HAS_DOTC_AND_NORM2
 

Functions

template<typename REALTYPE >
void copy (AField< REALTYPE, QXS > &v, const AField< REALTYPE, QXS > &w)
 
template<typename REALTYPE >
void copy (AField< REALTYPE, QXS > &v, const int ex, const AField< REALTYPE, QXS > &w, const int ex_w)
 
template<typename REALTYPE >
void axpy (AField< REALTYPE, QXS > &v, const int exv, const typename AField< REALTYPE, QXS >::real_t a, const AField< REALTYPE, QXS > &w, const int exw)
 
template<typename REALTYPE >
void axpy (AField< REALTYPE, QXS > &v, const typename AField< REALTYPE, QXS >::real_t a, const AField< REALTYPE, QXS > &w)
 
template<typename REALTYPE >
void axpy (AField< REALTYPE, QXS > &v, const typename AField< REALTYPE, QXS >::complex_t a, const AField< REALTYPE, QXS > &w)
 
template<typename REALTYPE >
void axpy (AField< REALTYPE, QXS > &v, const int ex, const typename AField< REALTYPE, QXS >::complex_t a, const AField< REALTYPE, QXS > &w, const int ex_w)
 
template<typename REALTYPE >
void aypx (const typename AField< REALTYPE, QXS >::real_t a, AField< REALTYPE, QXS > &v, const AField< REALTYPE, QXS > &w)
 
template<typename REALTYPE >
void aypx (const typename AField< REALTYPE, QXS >::complex_t a, AField< REALTYPE, QXS > &v, const AField< REALTYPE, QXS > &w)
 
template<typename REALTYPE >
void scal (AField< REALTYPE, QXS > &v, REALTYPE a)
 
template<typename REALTYPE >
void scal (AField< REALTYPE, QXS > &v, const typename AField< REALTYPE, QXS >::complex_t a)
 
template<typename REALTYPE >
REALTYPE dot (AField< REALTYPE, QXS > &v, AField< REALTYPE, QXS > &w)
 
template<typename REALTYPE >
AField< REALTYPE, QXS >::complex_t dotc (const AField< REALTYPE, QXS > &v, const AField< REALTYPE, QXS > &w)
 
template<class INDEX , class AFIELD >
void convert (INDEX &index, AFIELD &v, const Field &w)
 
template<class INDEX , class AFIELD >
void reverse (INDEX &index, Field &v, const AFIELD &w)
 
template<class INDEX , class FIELD >
void convert_spinor (INDEX &index, FIELD &v, const Field &w)
 
template<class INDEX , class FIELD >
void convert_gauge (INDEX &index, FIELD &v, const Field &w)
 
template<class INDEX2 , class FIELD2 , class INDEX1 , class FIELD1 >
void convert (INDEX2 &index2, FIELD2 &v2, const INDEX1 &index1, const FIELD1 &v1)
 
template<class INDEX2 , class FIELD2 , class INDEX1 , class FIELD1 >
void convert_h (INDEX2 &index2, FIELD2 &v2, const INDEX1 &index1, const FIELD1 &v1)
 
template<class INDEX , class FIELD >
void reverse (INDEX &index, Field &v, FIELD &w)
 
template<class INDEX , class FIELD >
void reverse_spinor (INDEX &index, Field &v, FIELD &w)
 
template<class INDEX , class FIELD >
void reverse_gauge (INDEX &index, Field &v, FIELD &w)
 
template<typename REALTYPE >
REALTYPE norm2 (const AField< REALTYPE, QXS > &v)
 
template<typename REALTYPE >
void dotc_and_norm2 (typename AField< REALTYPE, QXS >::complex_t &dotc, REALTYPE &v_norm2, REALTYPE &w_norm2, const AField< REALTYPE, QXS > &v, const AField< REALTYPE, QXS > &w)
 

Detailed Description

Author
Hideo Matsufuru (matufuru)
LastChangedBy
kanamori
Date
$LastChangedDate:: 2023-04-04 15:28:35 #$
Version
LastChangedRevision
2507
Author
Hideo Matsufuru (matufuru)
LastChangedBy
matufuru
Date
$LastChangedDate:: 2023-02-28 16:09:41 #$
Version
LastChangedRevision
2492

Definition in file afield-inc.h.

Macro Definition Documentation

◆ AFIELD_HAS_DOTC_AND_NORM2

#define AFIELD_HAS_DOTC_AND_NORM2

Definition at line 477 of file afield-inc.h.

Function Documentation

◆ axpy() [1/4]

template<typename REALTYPE >
void axpy ( AField< REALTYPE, QXS > &  v,
const int  ex,
const typename AField< REALTYPE, QXS >::complex_t  a,
const AField< REALTYPE, QXS > &  w,
const int  ex_w 
)

Definition at line 68 of file afield-inc.h.

◆ axpy() [2/4]

template<typename REALTYPE >
void axpy ( AField< REALTYPE, QXS > &  v,
const int  exv,
const typename AField< REALTYPE, QXS >::real_t  a,
const AField< REALTYPE, QXS > &  w,
const int  exw 
)

Definition at line 40 of file afield-inc.h.

◆ axpy() [3/4]

template<typename REALTYPE >
void axpy ( AField< REALTYPE, QXS > &  v,
const typename AField< REALTYPE, QXS >::complex_t  a,
const AField< REALTYPE, QXS > &  w 
)

Definition at line 60 of file afield-inc.h.

◆ axpy() [4/4]

template<typename REALTYPE >
void axpy ( AField< REALTYPE, QXS > &  v,
const typename AField< REALTYPE, QXS >::real_t  a,
const AField< REALTYPE, QXS > &  w 
)

Definition at line 50 of file afield-inc.h.

◆ aypx() [1/2]

template<typename REALTYPE >
void aypx ( const typename AField< REALTYPE, QXS >::complex_t  a,
AField< REALTYPE, QXS > &  v,
const AField< REALTYPE, QXS > &  w 
)

Definition at line 87 of file afield-inc.h.

◆ aypx() [2/2]

template<typename REALTYPE >
void aypx ( const typename AField< REALTYPE, QXS >::real_t  a,
AField< REALTYPE, QXS > &  v,
const AField< REALTYPE, QXS > &  w 
)

Definition at line 78 of file afield-inc.h.

◆ convert() [1/2]

template<class INDEX , class AFIELD >
void convert ( INDEX &  index,
AFIELD v,
const Field w 
)

Definition at line 129 of file afield-inc.h.

◆ convert() [2/2]

template<class INDEX2 , class FIELD2 , class INDEX1 , class FIELD1 >
void convert ( INDEX2 &  index2,
FIELD2 &  v2,
const INDEX1 &  index1,
const FIELD1 &  v1 
)

Definition at line 260 of file afield-inc.h.

◆ convert_gauge()

template<class INDEX , class FIELD >
void convert_gauge ( INDEX &  index,
FIELD &  v,
const Field w 
)

Definition at line 224 of file afield-inc.h.

◆ convert_h()

template<class INDEX2 , class FIELD2 , class INDEX1 , class FIELD1 >
void convert_h ( INDEX2 &  index2,
FIELD2 &  v2,
const INDEX1 &  index1,
const FIELD1 &  v1 
)

Definition at line 307 of file afield-inc.h.

◆ convert_spinor()

template<class INDEX , class FIELD >
void convert_spinor ( INDEX &  index,
FIELD &  v,
const Field w 
)

Definition at line 187 of file afield-inc.h.

◆ copy() [1/2]

template<typename REALTYPE >
void copy ( AField< REALTYPE, QXS > &  v,
const AField< REALTYPE, QXS > &  w 
)

Definition at line 23 of file afield-inc.h.

◆ copy() [2/2]

template<typename REALTYPE >
void copy ( AField< REALTYPE, QXS > &  v,
const int  ex,
const AField< REALTYPE, QXS > &  w,
const int  ex_w 
)

Definition at line 31 of file afield-inc.h.

◆ dot()

template<typename REALTYPE >
REALTYPE dot ( AField< REALTYPE, QXS > &  v,
AField< REALTYPE, QXS > &  w 
)

Definition at line 111 of file afield-inc.h.

◆ dotc()

template<typename REALTYPE >
AField<REALTYPE, QXS>::complex_t dotc ( const AField< REALTYPE, QXS > &  v,
const AField< REALTYPE, QXS > &  w 
)

Definition at line 119 of file afield-inc.h.

◆ dotc_and_norm2()

template<typename REALTYPE >
void dotc_and_norm2 ( typename AField< REALTYPE, QXS >::complex_t dotc,
REALTYPE &  v_norm2,
REALTYPE &  w_norm2,
const AField< REALTYPE, QXS > &  v,
const AField< REALTYPE, QXS > &  w 
)

Definition at line 463 of file afield-inc.h.

◆ norm2()

template<typename REALTYPE >
REALTYPE norm2 ( const AField< REALTYPE, QXS > &  v)

Definition at line 453 of file afield-inc.h.

◆ reverse() [1/2]

template<class INDEX , class AFIELD >
void reverse ( INDEX &  index,
Field v,
const AFIELD w 
)

Definition at line 159 of file afield-inc.h.

◆ reverse() [2/2]

template<class INDEX , class FIELD >
void reverse ( INDEX &  index,
Field v,
FIELD &  w 
)

Definition at line 352 of file afield-inc.h.

◆ reverse_gauge()

template<class INDEX , class FIELD >
void reverse_gauge ( INDEX &  index,
Field v,
FIELD &  w 
)

Definition at line 417 of file afield-inc.h.

◆ reverse_spinor()

template<class INDEX , class FIELD >
void reverse_spinor ( INDEX &  index,
Field v,
FIELD &  w 
)

Definition at line 380 of file afield-inc.h.

◆ scal() [1/2]

template<typename REALTYPE >
void scal ( AField< REALTYPE, QXS > &  v,
const typename AField< REALTYPE, QXS >::complex_t  a 
)

Definition at line 103 of file afield-inc.h.

◆ scal() [2/2]

template<typename REALTYPE >
void scal ( AField< REALTYPE, QXS > &  v,
REALTYPE  a 
)

Definition at line 95 of file afield-inc.h.