CHROMA
Namespaces | Macros | Functions
syssolver_qop_mg_params.cc File Reference

Parameters for the external QDP clover multigrid solver. More...

#include "actions/ferm/invert/qop_mg/syssolver_qop_mg_params.h"

Go to the source code of this file.

Namespaces

 Chroma
 Asqtad Staggered-Dirac operator.
 

Macros

#define defaultread(PARAM, DEFAULT)   if (paramtop.count(#PARAM)) {read(paramtop, #PARAM, param.PARAM);} else {param.PARAM = DEFAULT;}
 
#define defaultreadvec(PARAM, DEFAULT)
 
#define writeparam(PARAM)   write(xml, #PARAM, param.PARAM)
 

Functions

void Chroma::read (XMLReader &xml, const std::string &path, SysSolverQOPMGParams &param)
 
void Chroma::write (XMLWriter &xml, const std::string &path, const SysSolverQOPMGParams &param)
 

Detailed Description

Parameters for the external QDP clover multigrid solver.

Definition in file syssolver_qop_mg_params.cc.

Macro Definition Documentation

◆ defaultread

#define defaultread (   PARAM,
  DEFAULT 
)    if (paramtop.count(#PARAM)) {read(paramtop, #PARAM, param.PARAM);} else {param.PARAM = DEFAULT;}

◆ defaultreadvec

#define defaultreadvec (   PARAM,
  DEFAULT 
)
Value:
if (paramtop.count(#PARAM)) { \
read(paramtop, #PARAM, param.PARAM); \
} else { \
param.PARAM.resize(param.Levels); \
for (int l=0; l<param.Levels; l++) { \
param.PARAM[l] = DEFAULT; \
} \
}
int l
Definition: pade_trln_w.cc:111

◆ writeparam

#define writeparam (   PARAM)    write(xml, #PARAM, param.PARAM)