CHROMA
Macros | Typedefs | Functions
invcg2_timing_hacks_2.h File Reference

Conjugate-Gradient algorithm for a generic Linear Operator. More...

#include "chromabase.h"
#include "linearop.h"
#include "actions/ferm/linop/dslash_w.h"

Go to the source code of this file.

Macros

#define AT_REAL(a)   (a.elem().elem().elem().elem().elem())
 
#define FIRST_ELEM(a, s)   (&(a.elem(s.start()).elem(0).elem(0).real().elem()))
 

Typedefs

typedef OLattice< PSpinVector< PColorVector< RComplex< PScalar< REAL > >, Nc >, Ns > > LFerm
 Highly optimised Conjugate-Gradient (CGNE) algorithm for a Even Odd Preconditioned. More...
 
typedef OScalar< PScalar< PScalar< RScalar< PScalar< REAL > > > > > LScal
 
typedef OScalar< PScalar< PScalar< RScalar< PScalar< DOUBLE > > > > > LDble
 

Functions

void InvCG2EvenOddPrecWilsLinOpTHack (const WilsonDslash &D, const LFerm &chi, LFerm &psi, const LScal &mass, const LScal &RsdCG, int MaxCG, int &n_count)
 Conjugate-Gradient (CGNE) algorithm for a generic Linear Operator. More...
 

Detailed Description

Conjugate-Gradient algorithm for a generic Linear Operator.

Definition in file invcg2_timing_hacks_2.h.

Macro Definition Documentation

◆ AT_REAL

#define AT_REAL (   a)    (a.elem().elem().elem().elem().elem())

Definition at line 21 of file invcg2_timing_hacks_2.h.

◆ FIRST_ELEM

#define FIRST_ELEM (   a,
  s 
)    (&(a.elem(s.start()).elem(0).elem(0).real().elem()))

Definition at line 24 of file invcg2_timing_hacks_2.h.

Typedef Documentation

◆ LDble

typedef OScalar< PScalar < PScalar < RScalar< PScalar < DOUBLE > > > > > LDble

Definition at line 19 of file invcg2_timing_hacks_2.h.

◆ LFerm

typedef OLattice< PSpinVector< PColorVector< RComplex< PScalar<REAL> >, Nc>, Ns> > LFerm

Highly optimised Conjugate-Gradient (CGNE) algorithm for a Even Odd Preconditioned.

Definition at line 16 of file invcg2_timing_hacks_2.h.

◆ LScal

typedef OScalar< PScalar < PScalar < RScalar< PScalar < REAL > > > > > LScal

Definition at line 18 of file invcg2_timing_hacks_2.h.