CHROMA
Functions
t_wlinvcg.cc File Reference
#include <iostream>
#include <cstdio>
#include "chroma.h"
#include "primitives.h"
#include "chromabase.h"
#include "actions/ferm/invert/invcg2.h"

Go to the source code of this file.

Functions

void WlInvCG2 (const LinearOperator &M, const LatticeFermion &chi, LatticeFermion &psi, const Real &RsdCG, int MaxCG, int &n_count)
 Conjugate-Gradient (CGNE) algorithm for a generic Linear Operator. More...
 
int main (int argc, char **argv)
 

Function Documentation

◆ main()

int main ( int  argc,
char **  argv 
)

Test out dslash

Create a linear operator

Create and try a more sophisticated operator

Definition at line 168 of file t_wlinvcg.cc.

References Chroma::cb, Chroma::chi(), Chroma::eta, Chroma::finalize(), Chroma::gaussian(), Chroma::i, Chroma::initialize(), m, Nd, Chroma::PLUS, Chroma::pop(), Chroma::psi, Chroma::push(), Chroma::transpose(), Chroma::u, Chroma::write(), and Chroma::zero.