Index of etak and Triangles

Dear all,

Another simple question arises when I run the AdaptResidualErrorIndicator.edp. I want to know the etak[i] corresponds to which element.

I think maybe for example eatk[0] corresponds to the first triangle introduced in .mesh file and eatk[1] corresponds to the seond, etc…

Triangles
72
38 31 36 0
38 30 31 0
40 41 36 0
29 30 38 0
37 38 41 0

Am I right?

Thanks for your time.

wys

In AdaptResidualErrorIndicator.edp, etak[][i] correspond to the degree of freedom i of your finite element space. If you have a P1 finite element space, that correspond to the vertex i