well I am trying to understand this code so will understand the Fem code writing well , just as a start , in that page the IEN and LM are two matrices calculated that for LM is written like :
global degree-of-freedom=LM (local degree-of-freedom, element number)
that when a node 's degree of freedom is one , the IEN and LM are identical , (why ?) , then I don't get the two dof node condition