+ if(mesh.getTypeOfElement(element)!=INTERP_KERNEL::NORM_POLYHED)
+ return OTT<ConnType,numPol>::coo2C(mesh.getConnectivityPtr()[elemIdx + node]);
+ else
+ {
+ const ConnType *startNodalConnOfElem=mesh.getConnectivityPtr()+elemIdx;
+ ConnType ptr=0,ret=0;
+ while(startNodalConnOfElem[ret]==-1 || ptr!=node)
+ {
+ ret++;
+ if(startNodalConnOfElem[ret]!=-1)
+ ptr++;
+ }
+ return OTT<ConnType,numPol>::coo2C(startNodalConnOfElem[ret]);
+ }