Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
vecWithCopies.cpp File Reference
#include "Teuchos_CommHelpers.hpp"
#include "Teuchos_DefaultComm.hpp"
#include "Teuchos_RCP.hpp"
#include "Teuchos_Array.hpp"
#include "Tpetra_Core.hpp"
#include "Tpetra_Map.hpp"
#include "Tpetra_Vector.hpp"
#include <string>
#include <sstream>
#include <iostream>
Include dependency graph for vecWithCopies.cpp:

Go to the source code of this file.

Functions

int main (int narg, char **arg)
 Small test program showing how to take GIDs that may have duplicates across processors (e.g., mesh vertices that are copied at part boundaries in an element-based decomposition) and assign unique owners to them. More...
 

Function Documentation

int main ( int  narg,
char **  arg 
)

Small test program showing how to take GIDs that may have duplicates across processors (e.g., mesh vertices that are copied at part boundaries in an element-based decomposition) and assign unique owners to them.

Then, the test creates Vectors using the maps and transfers data between them

Definition at line 31 of file vecWithCopies.cpp.