15 multi3d<int> sym_tensor3d;
23 void symTensor3dInit()
27 sym_tensor3d.resize(3,3,3);
33 sym_tensor3d(0,1,2) = 1;
34 sym_tensor3d(1,2,0) = 1;
35 sym_tensor3d(2,0,1) = 1;
37 sym_tensor3d(1,0,2) = 1;
38 sym_tensor3d(0,2,1) = 1;
39 sym_tensor3d(2,1,0) = 1;
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 sym_tensor3d(
i,
j,
k);
Primary include file for CHROMA library code.
int symTensor3d(int i, int j, int k)
Return 3d symmetric tensor.
Asqtad Staggered-Dirac operator.
Compute symmetric tensors.