[Trilinos-Users] How to exchange the Epetra_Vector ghost values between two processors.
ztdepyahoo at gmail.com
ztdepyahoo at gmail.com
Thu Jun 8 20:30:30 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/20170609/d32e42e2/attachment.html>
More information about the Trilinos-Users
mailing list