1#ifndef ENSURE_LOOP_FUNCTIONS
2#define ENSURE_LOOP_FUNCTIONS
21void ensure_unary_minus_is_loop_function() {
22 if constexpr (hila::has_unary_minus<T>::value) {
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() {
32 onsites(
ALL) f[X] = 0;
33 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...
constexpr Parity ALL
bit pattern: 011
This files containts definitions for the Field class and the classes required to define it such as fi...