message: Add check for ExchangeFaceNbrData
diff: @@ -477,6 +477,9 @@ void ParGridFunction::GetElementDofs(int el, Vector &dof_vals) const
  int ne = fes->GetNE();
  if (el >= ne)
  {
  + MFEM_ASSERT(face_nbr_data.Size() > 0, "ParGridFunction::GetElementDofs: "
  + "ExchangeFaceNbrData must be called before accessing face "
  + "neighbor elements.");
  // Face neighbor element
  pfes->GetFaceNbrElementVDofs(el - ne, dof_idx);
  face_nbr_data.GetSubVector(dof_idx, dof_vals);
  