QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | List of all members
LoadStore< Real > Class Template Reference

Public Member Functions

 LoadStore (int vol)
 
void loadMatrixFromField (const Real *const field, int oddBit, int half_lattice_index, Matrix< 3, std::complex< Real > > *const mat) const
 
void loadMatrixFromField (const Real *const field, int oddBit, int dir, int half_lattice_index, Matrix< 3, std::complex< Real > > *const mat) const
 
void storeMatrixToField (const Matrix< 3, std::complex< Real > > &mat, int oddBit, int half_lattice_index, Real *const field) const
 
void addMatrixToField (const Matrix< 3, std::complex< Real > > &mat, int oddBit, int half_lattice_index, Real coeff, Real *const) const
 
void addMatrixToField (const Matrix< 3, std::complex< Real > > &mat, int oddBit, int dir, int half_lattice_index, Real coeff, Real *const) const
 
void storeMatrixToMomentumField (const Matrix< 3, std::complex< Real > > &mat, int oddBit, int dir, int half_lattice_index, Real coeff, Real *const) const
 
Real getData (const Real *const field, int idx, int dir, int oddBit, int offset, int hfv) const
 
void addData (Real *const field, int idx, int dir, int oddBit, int offset, Real, int hfv) const
 
int half_idx_conversion_ex2normal (int half_lattice_index, const int *dim, int oddBit) const
 
int half_idx_conversion_normal2ex (int half_lattice_index, const int *dim, int oddBit) const
 

Detailed Description

template<class Real>
class LoadStore< Real >

Definition at line 311 of file hisq_force_reference2.cpp.

Constructor & Destructor Documentation

◆ LoadStore()

template<class Real >
LoadStore< Real >::LoadStore ( int  vol)
inline

Definition at line 316 of file hisq_force_reference2.cpp.

Member Function Documentation

◆ addData()

template<class Real >
void LoadStore< Real >::addData ( Real *const  field,
int  idx,
int  dir,
int  oddBit,
int  offset,
Real  v,
int  hfv 
) const

Definition at line 405 of file hisq_force_reference2.cpp.

◆ addMatrixToField() [1/2]

template<class Real >
void LoadStore< Real >::addMatrixToField ( const Matrix< 3, std::complex< Real > > &  mat,
int  oddBit,
int  dir,
int  half_lattice_index,
Real  coeff,
Real * const  field 
) const

Definition at line 513 of file hisq_force_reference2.cpp.

◆ addMatrixToField() [2/2]

template<class Real >
void LoadStore< Real >::addMatrixToField ( const Matrix< 3, std::complex< Real > > &  mat,
int  oddBit,
int  half_lattice_index,
Real  coeff,
Real * const  field 
) const

Definition at line 487 of file hisq_force_reference2.cpp.

◆ getData()

template<class Real >
Real LoadStore< Real >::getData ( const Real *const  field,
int  idx,
int  dir,
int  oddBit,
int  offset,
int  hfv 
) const

Definition at line 396 of file hisq_force_reference2.cpp.

◆ half_idx_conversion_ex2normal()

template<class Real >
int LoadStore< Real >::half_idx_conversion_ex2normal ( int  half_lattice_index,
const int *  dim,
int  oddBit 
) const

Definition at line 336 of file hisq_force_reference2.cpp.

◆ half_idx_conversion_normal2ex()

template<class Real >
int LoadStore< Real >::half_idx_conversion_normal2ex ( int  half_lattice_index,
const int *  dim,
int  oddBit 
) const

Definition at line 365 of file hisq_force_reference2.cpp.

◆ loadMatrixFromField() [1/2]

template<class Real >
void LoadStore< Real >::loadMatrixFromField ( const Real *const  field,
int  oddBit,
int  dir,
int  half_lattice_index,
Matrix< 3, std::complex< Real > > *const  mat 
) const

Definition at line 440 of file hisq_force_reference2.cpp.

◆ loadMatrixFromField() [2/2]

template<class Real >
void LoadStore< Real >::loadMatrixFromField ( const Real *const  field,
int  oddBit,
int  half_lattice_index,
Matrix< 3, std::complex< Real > > *const  mat 
) const

Definition at line 417 of file hisq_force_reference2.cpp.

◆ storeMatrixToField()

template<class Real >
void LoadStore< Real >::storeMatrixToField ( const Matrix< 3, std::complex< Real > > &  mat,
int  oddBit,
int  half_lattice_index,
Real *const  field 
) const

Definition at line 465 of file hisq_force_reference2.cpp.

◆ storeMatrixToMomentumField()

template<class Real >
void LoadStore< Real >::storeMatrixToMomentumField ( const Matrix< 3, std::complex< Real > > &  mat,
int  oddBit,
int  dir,
int  half_lattice_index,
Real  coeff,
Real * const  field 
) const

Definition at line 543 of file hisq_force_reference2.cpp.


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