QUDA
1.0.0
|
#include <clover_field.h>
Public Member Functions | |
cpuCloverField (const CloverFieldParam ¶m) | |
virtual | ~cpuCloverField () |
![]() | |
CloverField (const CloverFieldParam ¶m) | |
virtual | ~CloverField () |
void * | V (bool inverse=false) |
void * | Norm (bool inverse=false) |
const void * | V (bool inverse=false) const |
const void * | Norm (bool inverse=false) const |
bool | isNative () const |
double * | TrLog () const |
QudaCloverFieldOrder | Order () const |
size_t | Bytes () const |
size_t | NormBytes () const |
int | Ncolor () const |
int | Nspin () const |
double | Csw () const |
bool | Twisted () const |
double | Mu2 () const |
double | Rho () const |
void | setRho (double rho) |
Bakes in the rho factor into the clover field, (for real diagonal additive Hasenbusch), e.g., A + rho. More... | |
double | norm1 () const |
Compute the L1 norm of the field. More... | |
double | norm2 () const |
Compute the L2 norm squared of the field. More... | |
double | abs_max () const |
Compute the absolute maximum of the field (Linfinity norm) More... | |
double | abs_min () const |
Compute the absolute minimum of the field. More... | |
![]() | |
LatticeField (const LatticeFieldParam ¶m) | |
LatticeField (const LatticeField &field) | |
virtual | ~LatticeField () |
void | allocateGhostBuffer (size_t ghost_bytes) const |
Allocate the static ghost buffers. More... | |
void | createComms (bool no_comms_fill=false, bool bidir=true) |
void | destroyComms () |
void | createIPCComms () |
bool | ipcCopyComplete (int dir, int dim) |
bool | ipcRemoteCopyComplete (int dir, int dim) |
const cudaEvent_t & | getIPCCopyEvent (int dir, int dim) const |
const cudaEvent_t & | getIPCRemoteCopyEvent (int dir, int dim) const |
int | Ndim () const |
const int * | X () const |
int | Volume () const |
int | VolumeCB () const |
const int * | SurfaceCB () const |
int | SurfaceCB (const int i) const |
int | Stride () const |
int | Pad () const |
const int * | R () const |
QudaGhostExchange | GhostExchange () const |
QudaPrecision | Precision () const |
QudaPrecision | GhostPrecision () const |
double | Scale () const |
void | Scale (double scale_) |
Set the scale factor for a fixed-point field. More... | |
virtual QudaSiteSubset | SiteSubset () const |
virtual QudaMemoryType | MemType () const |
int | Nvec () const |
QudaFieldLocation | Location () const |
size_t | GBytes () const |
void | checkField (const LatticeField &a) const |
virtual void | read (char *filename) |
virtual void | write (char *filename) |
virtual void | gather (int nFace, int dagger, int dir, cudaStream_t *stream_p=NULL) |
virtual void | commsStart (int nFace, int dir, int dagger=0, cudaStream_t *stream_p=NULL, bool gdr_send=false, bool gdr_recv=true) |
virtual int | commsQuery (int nFace, int dir, int dagger=0, cudaStream_t *stream_p=NULL, bool gdr_send=false, bool gdr_recv=true) |
virtual void | commsWait (int nFace, int dir, int dagger=0, cudaStream_t *stream_p=NULL, bool gdr_send=false, bool gdr_recv=true) |
virtual void | scatter (int nFace, int dagger, int dir) |
const char * | VolString () const |
const char * | AuxString () const |
virtual void | backup () const |
Backs up the LatticeField. More... | |
virtual void | restore () const |
Restores the LatticeField. More... | |
![]() | |
Object () | |
virtual | ~Object () |
Definition at line 244 of file clover_field.h.
quda::cpuCloverField::cpuCloverField | ( | const CloverFieldParam & | param | ) |
Definition at line 388 of file clover_field.cpp.
References quda::CloverField::bytes, quda::CloverFieldParam::clover, quda::CloverField::clover, quda::CloverFieldParam::cloverInv, quda::CloverField::cloverInv, quda::CloverField::create, errorQuda, quda::CloverFieldParam::inverse, quda::CloverFieldParam::invNorm, quda::CloverField::invNorm, memset(), quda::CloverFieldParam::norm, quda::CloverField::norm_bytes, quda::CloverField::order, quda::LatticeFieldParam::pad, quda::LatticeField::precision, QUDA_HALF_PRECISION, QUDA_NULL_FIELD_CREATE, QUDA_PACKED_CLOVER_ORDER, QUDA_REFERENCE_FIELD_CREATE, QUDA_ZERO_FIELD_CREATE, and safe_malloc.
|
virtual |
Definition at line 417 of file clover_field.cpp.
References quda::CloverField::clover, quda::CloverField::cloverInv, quda::CloverField::create, host_free, quda::CloverField::invNorm, and QUDA_REFERENCE_FIELD_CREATE.