Hi Christophe,
Yes, I have tried using
A = MESH%IKLE(IELEM,2)
B = MESH%IKLE(IELEM,3)
C = MESH%IKLE(IELEM,1)
And also I have tried using,
A = MESH%IKLE%I(IELEM,2)
B = MESH%IKLE%I(IELEM,3)
C = MESH%IKLE%I(IELEM,1)
as well as,
A = IKLE%I(IELEM,2)
B = IKLE%I(IELEM,3)
C = IKLE%I(IELEM,1)
The first gives me the error of,
126 | A = MESH%IKLE(IELEM,2)
| 1
Error: Unclassifiable statement at (1)
and the second and third both give me an error of,
126 | A = MESH%IKLE%I(IELEM,2)
| 1
Error: Rank mismatch in array reference at (1) (2/1)
126 | A = IKLE%I(IELEM,2)
| 1
Error: Rank mismatch in array reference at (1) (2/1)
I will attach my full fortran subroutine file in case this helps. Maybe there is another issue that I am not catching.