[Trilinos-Users] How to exchange the Epetra_Vector ghost values between two processors.

ztdepyahoo at gmail.com ztdepyahoo at gmail.com
Fri Jun 2 20:55:37 EDT 2017


Dear friends:
   In Epetra_Vector example 9, we create a vector with the following map 

  if( Comm.MyPID() == 0 ) {
    NumMyElements = 3;
    MyGlobalElements.Size(NumMyElements);
    MyGlobalElements[0] = 0;
    MyGlobalElements[1] = 1;
    MyGlobalElements[2] = 2;
  } else {
    NumMyElements = 3;
    MyGlobalElements.Size(NumMyElements);
    MyGlobalElements[0] = 1;
    MyGlobalElements[1] = 2;
    MyGlobalElements[2] = 3;
  }

  I want to exchange the ghost values with global id 1 and 2 between these two processors.
   Could you please tell me how to resolve this problems.
Regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://trilinos.org/pipermail/trilinos-users/attachments/20170603/7134e0ac/attachment.html>


More information about the Trilinos-Users mailing list