meshS Th=square3(2,2); // --------- new stuff ----------------- int k=0,l=1,e=1; Th.nbe ; // return the number of boundary element \hfilll Th.be(k); // return the boundary element k $\in \{0,...,Th.nbe-1\}$ \hfilll Th.be(k)[l]; // return the vertices l $\in \{0,1\}$ of boundary element k \hfilll Th.be(k).Element ; // return the triangle contening the boundary element k \hfilll Th.be(k).whoinElement ; // return the egde number of triangle contening the boundary element k \hfilll Th.be(k).N ; // return the Normal to be(k) version 4.10.1 Th[k].adj(e) ; // return adjacent triangle to k by edge e, and change the value of e to \hfilll // the corresponding edge in the adjacent triangle Th[k] == Th[k].adj(e) ;// non adjacent triangle return the same Th[k] != Th[k].adj(e) ;// true adjacent triangle cout << " print mesh connectivity " << endl; int nbelement = Th.nt; for (int i=0;i " << int(Th[k].adj((ee=e))) << " " << ee << " adj: " << ( Th[k].adj((ee=e)) != Th[k]) << endl; } // note : if k == int(Th[k].adj(ee=e)) not adjacent element int nbboundaryelement = Th.nbe; Th.be; for (int k=0;k