std::vector<uint16_type> entity( uint16_type /*topo_dim*/, uint16_type id ) const { std::vector<uint16_type> __entity( 2 ); __entity[0] = __e2p_order1[2*id]; __entity[1] = __e2p_order1[2*id+1]; return __entity; }
std::vector<uint16_type> entity( uint16_type /*topo_dim*/, uint16_type /*id*/ ) const { std::vector<uint16_type> __entity( 2 ); __entity[0] = 0; __entity[1] = 1; return __entity; }
std::vector<uint16_type> entity( uint16_type topo_dim, uint16_type id ) const { std::vector<uint16_type> __entity( 2*topo_dim ); if ( topo_dim == 1 ) { __entity[0] = __e2p_order1[2*id]; __entity[1] = __e2p_order1[2*id+1]; } else if ( topo_dim == 2 ) { __entity[0] = __f2p_order1[4*id]; __entity[1] = __f2p_order1[4*id+1]; __entity[2] = __f2p_order1[4*id+2]; __entity[3] = __f2p_order1[4*id+3]; } return __entity; }