message: Altering the orientation of shared faces on slaves processors
diff: @@ -2039,6 +2039,7 @@ void ParMesh::ExchangeFaceNbrData(Table *gr_sface, int *s2l_face)
  break;
  }
  + int nbr_rank = GetFaceNbrRank(fn);
  int elem_off = face_nbr_elements_offset[fn];
  int nbr_group = face_nbr_group[fn];
  int num_sfaces = gr_sface->RowSize(nbr_group-1);
  @@ -2073,8 +2074,15 @@ void ParMesh::ExchangeFaceNbrData(Table *gr_sface, int *s2l_face)
  nbr_v[perm[j]] = sf_v[j];
  }
  // get the orientation of nbr_v w.r.t. the local face
  + if (MyRank < nbr_rank)
  + {
  nbr_ori = GetTriOrientation(lf_v, nbr_v);
  }
  + else
  + {
  + nbr_ori = GetTriOrientation(nbr_v, lf_v);
  + }
  + }
  else // quad shared face
  {
  // apply the nbr_ori to sf_v to get nbr_v
  @@ -2085,11 +2093,25 @@ void ParMesh::ExchangeFaceNbrData(Table *gr_sface, int *s2l_face)
  nbr_v[perm[j]] = sf_v[j];
  }
  // get the orientation of nbr_v w.r.t. the local face
  + if (MyRank < nbr_rank)
  + {
  nbr_ori = GetQuadOrientation(lf_v, nbr_v);
  }
  + else
  + {
  + nbr_ori = GetQuadOrientation(nbr_v, lf_v);
  + }
  + }
  + if (MyRank < nbr_rank)
  + {
  info = 64*(info/64) + nbr_ori;
  }
  + else
  + {
  + face_info.Elem1Inf = 64*(face_info.Elem1Inf/64) + nbr_ori;
  + }
  + }
  face_info.Elem2Inf = info;
  }
  }
  