Massively Parallel Trotter-Suzuki Solver  1.6.2
common.h
1 
19 #ifndef __COMMON_H
20 #define __COMMON_H
21 #include <limits>
22 #include "trottersuzuki.h"
23 
24 void print_matrix(string filename, double * matrix, size_t stride, size_t width, size_t height);
25 void stamp(Lattice *grid, State *state, string fileprefix);
26 void stamp_matrix(Lattice *grid, double *matrix, string filename);
27 
28 void calculate_borders(int coord, int dim, int * start, int *end, int *inner_start, int *inner_end, int length, int halo, int periodic_bound);
29 void my_abort(string err);
30 void memcpy2D(void * dst, size_t dstride, const void * src, size_t sstride, size_t width, size_t height);
31 double bessel_j_zeros(int l, int x);
32 
33 #endif
This class defines the quantum state.
Definition: trottersuzuki.h:123