HILA
Loading...
Searching...
No Matches
test.h
1#include <sstream>
2#include <iostream>
3#include <string>
4#include <math.h>
5#include <assert.h>
6
7#include "plumbing/defs.h"
8#include "datatypes/cmplx.h"
9// #include "datatypes/sun.h"
10#if NDIM == 4
11// #include "datatypes/wilson_vector.h"
12#endif
13#include "plumbing/field.h"
14
15// // Define the lattice global variable
16// lattice_struct my_lattice;
17// lattice_struct * lattice = & my_lattice;
18
19const CoordinateVector nd = {32, 32, 32, 32};
20
21
22inline void test_setup(int &argc, char **argv) {
23 hila::initialize(argc, argv);
24 lattice.setup(nd);
25
27}
void setup(const CoordinateVector &siz)
General lattice setup.
Definition lattice.cpp:33
Definition of Complex types.
This file defines all includes for HILA.
This files containts definitions for the Field class and the classes required to define it such as fi...
void initialize(int argc, char **argv)
Read in command line arguments. Initialise default stream and MPI communication.
void seed_random(uint64_t seed, bool device_rng=true)
Seed random generators with 64-bit unsigned value. On MPI shuffles the seed so that different MPI ran...
Definition random.cpp:86