1#ifndef ENSURE_LOOP_FUNCTIONS
2#define ENSURE_LOOP_FUNCTIONS
21void ensure_unary_minus_is_loop_function() {
24 onsites(
ALL) f[X] = -f[X];
25 onsites(
ALL)
if (X.coordinate(e_x) == 0) f[X] = -f[X];
30void ensure_assign_zero_is_loop_function() {
33 onsites(
ALL) f[X] = 0;
34 onsites(
ALL)
if (X.coordinate(e_x) == 0) f[X] = 0;
The field class implements the standard methods for accessing Fields. Hilapp replaces the parity acce...
hila::has_assign_zero<T>::value returns true if '= 0 is defined for T
Conditionally reture bool type false if type T does't have unary - operator.
constexpr Parity ALL
bit pattern: 011
This files containts definitions for the Field class and the classes required to define it such as fi...