QUDA  v1.1.0
A library for QCD on GPUs
Public Member Functions | Public Attributes | List of all members
quda::DeflationParam Struct Reference

#include <deflation.h>

Public Member Functions

 DeflationParam (QudaEigParam &param, ColorSpinorField *RV, DiracMatrix &matDeflation, int cur_dim=0)
 
 ~DeflationParam ()
 

Public Attributes

QudaEigParameig_global
 
ColorSpinorFieldRV
 
double * invRitzVals
 
DiracMatrixmatDeflation
 
ComplexmatProj
 
int ld
 
int tot_dim
 
int cur_dim
 
bool use_inv_ritz
 
QudaFieldLocation location
 
char filename [100]
 

Detailed Description

This struct contains all the metadata required to define the deflated solvers.

Definition at line 13 of file deflation.h.

Constructor & Destructor Documentation

◆ DeflationParam()

quda::DeflationParam::DeflationParam ( QudaEigParam param,
ColorSpinorField RV,
DiracMatrix matDeflation,
int  cur_dim = 0 
)
inline

Definition at line 51 of file deflation.h.

◆ ~DeflationParam()

quda::DeflationParam::~DeflationParam ( )
inline

Definition at line 68 of file deflation.h.

Member Data Documentation

◆ cur_dim

int quda::DeflationParam::cur_dim

current dimension (must match rhs_idx: if(rhs_idx < deflation_grid) curr_n_evs <= n_ev * rhs_idx)

Definition at line 40 of file deflation.h.

◆ eig_global

QudaEigParam& quda::DeflationParam::eig_global

This points to the parameter struct that is passed into QUDA. We use this to set (per-level) parameters

Definition at line 17 of file deflation.h.

◆ filename

char quda::DeflationParam::filename[100]

Filename for where to load/store the deflation space

Definition at line 49 of file deflation.h.

◆ invRitzVals

double* quda::DeflationParam::invRitzVals

Inverse Ritz values

Definition at line 25 of file deflation.h.

◆ ld

int quda::DeflationParam::ld

projection matrix leading dimension

Definition at line 34 of file deflation.h.

◆ location

QudaFieldLocation quda::DeflationParam::location

Where to compute Ritz vectors

Definition at line 46 of file deflation.h.

◆ matDeflation

DiracMatrix& quda::DeflationParam::matDeflation

The Dirac operator to use for spinor deflation operation

Definition at line 28 of file deflation.h.

◆ matProj

Complex* quda::DeflationParam::matProj

Host projection matrix (e.g. eigCG VH A V)

Definition at line 31 of file deflation.h.

◆ RV

ColorSpinorField* quda::DeflationParam::RV

Buffer for Ritz vectors For staggered: we need to reduce dimensionality of each component?

Definition at line 22 of file deflation.h.

◆ tot_dim

int quda::DeflationParam::tot_dim

projection matrix full (maximum) dimension (n_ev*deflation_grid)

Definition at line 37 of file deflation.h.

◆ use_inv_ritz

bool quda::DeflationParam::use_inv_ritz

use inverse Ritz values for deflation (for the best performance)

Definition at line 43 of file deflation.h.


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