Hi, everyone

now, I use tetrahedron element. I want to get a side of tet by AutoPtr tri3(elem->build_side(i,false)). And then, I want to get the global degree of freedom in this triangle by using
Dof.dof_indices (tri3, dof_indices,var); however, tri3 is AutoPtr<Elem> type. dof_indices needs Elem *. May I arbitrarily transform it? memory leak? how to solve this problem?

thanks a lot.