[Trilinos-Users] Semantics of Epetra_vector reduction operations distributed conformally with overlapping Epetra_Maps
Alberto F. Martín-Huertas
amartin at cimne.upc.edu
Fri Jun 17 12:03:38 MDT 2011
Dear all,
Assume that you have an Epetra_Map with overlapping
GIDS defined, e.g., accordingly to the following piece of code
num_my_elements = 3;
if (MyPID == 0)
{
my_global_elements [0] = 0;
global_values [0] = 0.0;
my_global_elements [1] = 1;
global_values [1] = 1.0;
my_global_elements [2] = 2;
global_values [2] = 2.0;
}
else
{
my_global_elements [0] = 1;
global_values [0] = 1.0;
my_global_elements [1] = 2;
global_values [1] = 2.0;
my_global_elements [2] = 3;
global_values [2] = 3.0;
}
Epetra_Map mapeb ( -1,
num_my_elements,
my_global_elements, 0, Comm);
and an Epetra_Vector v, distributed conformally with mapeb, i.e.,
Epetra_Vector v ( View, mapeb, global_values ) ;
How are the semantics of vector reduction operations
like, e.g., Norm2, or Norm1, defined for vectors with their
distribution defined accordingly to overlapping maps ?
Thanks in advance.
Best regards,
Alberto.
More information about the Trilinos-Users
mailing list