X-Git-Url: https://git.auder.net/?a=blobdiff_plain;f=src%2Fsources%2Futils.h;h=f6d122f066b2010fbdbdf604fef6fedb42dfe277;hb=46a2e676b2d85eef5a1811a6e623b65327fc451d;hp=0c5a8d826dc64acf96cd5664ff06cd31e677dd43;hpb=8e92c49c15bdacebf46190e7c8279bd227873928;p=valse.git diff --git a/src/sources/utils.h b/src/sources/utils.h index 0c5a8d8..f6d122f 100644 --- a/src/sources/utils.h +++ b/src/sources/utils.h @@ -1,6 +1,16 @@ #ifndef valse_utils_H #define valse_utils_H +//#include + +/******** + * Types + *******/ + +typedef double Real; +//typedef uint32_t UInt; +//typedef int32_t Int; + /******************* * tune parallelism *******************/ @@ -27,10 +37,6 @@ #define ai4(i,j,k,m,d1,d2,d3,d4)\ m*d1*d2*d3 + k*d1*d2 + j*d1 + i -// Array5 Index ; TODO? ... -#define ai5(i,j,k,m,n,d1,d2,d3,d4,d5)\ - n*d1*d2*d3*d4 + m*d1*d2*d3 + k*d1*d2 + j*d1 + i - /************************* * Array copy & "zeroing" ************************/