Zoltan2
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Functions
Zoltan2_TestHelpers.hpp File Reference

common code used by tests More...

#include <Zoltan2_Util.hpp>
#include <iostream>
#include <Tpetra_Map.hpp>
#include <TpetraCore_config.h>
#include <ErrorHandlingForTests.hpp>
#include <UserInputForTests.hpp>
#include <PrintData.hpp>
Include dependency graph for Zoltan2_TestHelpers.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define STR_VALUE(path)   #path
 
#define PATH_NAME(path)   STR_VALUE(path)
 
#define HAVE_EPETRA_DATA_TYPES
 
#define MEMORY_CHECK(iPrint, msg)
 

Typedefs

typedef Tpetra::Map::node_type znode_t
 
typedef int zpart_t
 
typedef double zscalar_t
 
typedef int zlno_t
 
typedef int zgno_t
 

Functions

std::string testDataFilePath (".")
 
std::string zoltanTestDirectory (".")
 

Detailed Description

common code used by tests

Definition in file Zoltan2_TestHelpers.hpp.

Macro Definition Documentation

#define STR_VALUE (   path)    #path

Definition at line 60 of file Zoltan2_TestHelpers.hpp.

#define PATH_NAME (   path)    STR_VALUE(path)

Definition at line 61 of file Zoltan2_TestHelpers.hpp.

#define HAVE_EPETRA_DATA_TYPES

Definition at line 144 of file Zoltan2_TestHelpers.hpp.

#define MEMORY_CHECK (   iPrint,
  msg 
)
Value:
if (iPrint){ \
std::cout.width(10); \
std::cout.fill('*'); \
std::cout << kb << " KB, " << msg << std::endl; \
std::cout.width(0); \
std::cout.fill(' '); \
}
long getProcessKilobytes()

Definition at line 156 of file Zoltan2_TestHelpers.hpp.

Typedef Documentation

typedef Tpetra::Map ::node_type znode_t

Definition at line 56 of file Zoltan2_TestHelpers.hpp.

typedef int zpart_t

Definition at line 104 of file Zoltan2_TestHelpers.hpp.

typedef double zscalar_t

Definition at line 141 of file Zoltan2_TestHelpers.hpp.

typedef int zlno_t

Definition at line 142 of file Zoltan2_TestHelpers.hpp.

typedef int zgno_t

Definition at line 143 of file Zoltan2_TestHelpers.hpp.

Function Documentation

std::string testDataFilePath ( "."  )
std::string zoltanTestDirectory ( "."  )