HILA
Loading...
Searching...
No Matches
hila_healthcheck.cpp File Reference

HILA healthcheck application. More...

#include "hila.h"
#include "clusters.h"
#include <unistd.h>
Include dependency graph for hila_healthcheck.cpp:

Go to the source code of this file.

Functions

void test_extended ()
 Test extended type.
 
void test_fft ()
 Test FFT.
 
void test_functions ()
 Test various functions on fields.
 
void test_matrix_algebra ()
 Test matrix decomposition.
 
void test_matrix_operations ()
 Test matrix operations.
 
void test_minmax ()
 Test min and max operations on fields.
 
void test_random ()
 Test Gaussian random field generation.
 
void test_reductions ()
 Test reduction operations on fields.
 
void test_set_elements_and_select ()
 Test setting elements and selecting them.
 
void test_site_access ()
 Test site access.
 
void test_spectraldensity ()
 Test spectral density.
 
void test_subvolumes ()
 Test subvolume operations.
 

Detailed Description

HILA healthcheck application.

Author
Kari Rummukainen

Performs a comprehensive health check on HILA libraries.

Definition in file hila_healthcheck.cpp.

Function Documentation

◆ test_extended()

void test_extended ( )

Test extended type.

Test extended type for sums that exibit loss in accuracy with double.

Definition at line 771 of file hila_healthcheck.cpp.

◆ test_fft()

void test_fft ( )

Test FFT.

Test forward and inverse FFT on fields.

Definition at line 486 of file hila_healthcheck.cpp.

◆ test_functions()

void test_functions ( )

Test various functions on fields.

Test functions exp (on both real and complex field) and sin.

Definition at line 48 of file hila_healthcheck.cpp.

◆ test_matrix_algebra()

void test_matrix_algebra ( )

Test matrix decomposition.

Test matrix decompositions such as eigen decomposition and singular value decomposition (SVD).

Definition at line 712 of file hila_healthcheck.cpp.

◆ test_matrix_operations()

void test_matrix_operations ( )

Test matrix operations.

Test matrix multiplication and addition, as well as operations with imaginary operator.

Definition at line 685 of file hila_healthcheck.cpp.

◆ test_minmax()

void test_minmax ( )

Test min and max operations on fields.

Test min and max operations on fields with different parities.

Definition at line 225 of file hila_healthcheck.cpp.

◆ test_random()

void test_random ( )

Test Gaussian random field generation.

Generate a Gaussian random field and check its average and width^2.

Definition at line 272 of file hila_healthcheck.cpp.

◆ test_reductions()

void test_reductions ( )

Test reduction operations on fields.

Test normal reduction += and ReductionVector on fields with different types such as real, complex, matrix and SU matrix.

Definition at line 69 of file hila_healthcheck.cpp.

◆ test_set_elements_and_select()

void test_set_elements_and_select ( )

Test setting elements and selecting them.

Set elements in a field at random coordinates and then select them using SiteSelect and SiteValueSelect.

Definition at line 306 of file hila_healthcheck.cpp.

◆ test_site_access()

void test_site_access ( )

Test site access.

Test simple site access by writing and reading to random field site index c.

Definition at line 202 of file hila_healthcheck.cpp.

◆ test_spectraldensity()

void test_spectraldensity ( )

Test spectral density.

Test spectral density extraction from field.

Definition at line 607 of file hila_healthcheck.cpp.

◆ test_subvolumes()

void test_subvolumes ( )

Test subvolume operations.

Definition at line 402 of file hila_healthcheck.cpp.