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