Zoltan2 Version of the Day
Namespaces | Defines | Typedefs
Zoltan2_Standards.hpp File Reference

Gathering definitions used in software development. More...

#include <Zoltan2_Version.hpp>
#include <Zoltan2_config.h>
#include <Teuchos_RCP.hpp>
#include <Teuchos_Array.hpp>
#include <Teuchos_Tuple.hpp>
#include <Teuchos_ArrayRCP.hpp>
#include <Teuchos_ArrayView.hpp>
#include <Teuchos_ParameterList.hpp>
#include <Teuchos_ParameterEntry.hpp>
#include <Teuchos_DefaultComm.hpp>
#include <Teuchos_Comm.hpp>
#include <Teuchos_CommHelpers.hpp>
#include <Zoltan2_Exceptions.hpp>
#include <Kokkos_DefaultNode.hpp>
Include dependency graph for Zoltan2_Standards.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


namespace  Zoltan2


#define HELLO


typedef size_t Zoltan2::global_size_t
typedef int zoltan2_partId_t
 a data type for part IDs
typedef zoltan2_partId_t Zoltan2::partId_t

Detailed Description

Gathering definitions used in software development.

Should we allow data types for part ID to be set as cmake configure options? Part ID lists in the PartitioningSolution are of length "number of objects". If part ID could be short or int, we save significant memory. For now - typedef'd to int so it is easy to change. It seems data type for proc should be int - since it is int in the rest of Trilinos.

Definition in file Zoltan2_Standards.hpp.

Define Documentation

#define HELLO

Definition at line 147 of file Zoltan2_Standards.hpp.

Typedef Documentation

typedef int zoltan2_partId_t

a data type for part IDs

Partitioning algorithms deal with part lists, which have length on the order of the number of objects. Defining a part ID data type to be "integer" can save significant storage at runtime, but in some cases, it needs to be defined as "long long".

Definition at line 137 of file Zoltan2_Standards.hpp.