Bridge++  Version 1.5.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Test_Spectrum_CRSMatrix Namespace Reference

Test of CRS matrix format. More...

Functions

int clover_lex (void)
 
int CRSsolver (const string &solution, const string &matrix, const string &source, double &result)
 
void write_text (const Field &f, const string &filename)
 
void read_text (Field &f, const string &filename)
 
int CRSsolver (void)
 
int domainwall (void)
 
int overlap_5d (void)
 

Detailed Description

Test of CRS matrix format.

This class generates and tests the CRS matrix format data. Matrix data in CRS format are generated for the following fermion operators together with sample source and solution vectors.

The egenrated data can be tested using the function CRSsolver() whether really solved result satisfy the linear equation. 24 Dec 2011 H.Matsufuru YAML is implemented. [14 Nov 2012 Y.Namekawa] unique_ptr is introduced to avoid memory leaks [21 Mar 2015 Y.Namekawa]

Function Documentation

int Test_Spectrum_CRSMatrix::clover_lex ( void  )

Definition at line 82 of file test_Spectrum_CRSMatrix_Clover_Lexical.cpp.

int Test_Spectrum_CRSMatrix::CRSsolver ( const string &  solution,
const string &  matrix,
const string &  source,
double &  result 
)

Definition at line 41 of file test_Spectrum_CRSMatrix_CRSsolver.cpp.

int Test_Spectrum_CRSMatrix::CRSsolver ( void  )
int Test_Spectrum_CRSMatrix::domainwall ( void  )
int Test_Spectrum_CRSMatrix::overlap_5d ( void  )
void Test_Spectrum_CRSMatrix::read_text ( Field f,
const string &  filename 
)

Definition at line 128 of file test_Spectrum_CRSMatrix_CRSsolver.cpp.

void Test_Spectrum_CRSMatrix::write_text ( const Field f,
const string &  filename 
)

Definition at line 97 of file test_Spectrum_CRSMatrix_CRSsolver.cpp.