15 multi3d<int> antisym_tensor3d;
23 void antiSymTensor3dInit()
27 antisym_tensor3d.resize(3,3,3);
33 antisym_tensor3d(0,1,2) = 1;
34 antisym_tensor3d(1,2,0) = 1;
35 antisym_tensor3d(2,0,1) = 1;
37 antisym_tensor3d(1,0,2) = -1;
38 antisym_tensor3d(0,2,1) = -1;
39 antisym_tensor3d(2,1,0) = -1;
57 antiSymTensor3dInit();
59 if (i < 0 || i > 2 || j < 0 || j > 2 || k < 0 || k > 2)
61 QDPIO::cerr << __func__ <<
": indices out of bounds: i,j,k="
62 <<
i <<
" " <<
j <<
" " <<
k << std::endl;
66 return antisym_tensor3d(
i,
j,
k);
Compute anti-symmetric tensors.
Primary include file for CHROMA library code.
int antiSymTensor3d(int i, int j, int k)
Return 3d symmetric tensor.
Asqtad Staggered-Dirac operator.