Zoltan2
Loading...
Searching...
No Matches
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:

Go to the source code of this file.

Macros

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

Typedefs

typedef Tpetra::Map ::node_type znode_t
 
typedef int zpart_t
 
typedef Tpetra::Map ::local_ordinal_type zlno_t
 
typedef Tpetra::Map ::global_ordinal_type zgno_t
 
typedef float zscalar_t
 

Functions

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

Detailed Description

common code used by tests

Definition in file Zoltan2_TestHelpers.hpp.

Macro Definition Documentation

◆ STR_VALUE

#define STR_VALUE ( path)    #path

Definition at line 60 of file Zoltan2_TestHelpers.hpp.

◆ PATH_NAME

#define PATH_NAME ( path)    STR_VALUE(path)

Definition at line 61 of file Zoltan2_TestHelpers.hpp.

◆ MEMORY_CHECK

#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 129 of file Zoltan2_TestHelpers.hpp.

Typedef Documentation

◆ znode_t

typedef Tpetra::Map ::node_type znode_t

Definition at line 56 of file Zoltan2_TestHelpers.hpp.

◆ zpart_t

typedef int zpart_t

Definition at line 104 of file Zoltan2_TestHelpers.hpp.

◆ zlno_t

typedef Tpetra::Map ::local_ordinal_type zlno_t

Definition at line 106 of file Zoltan2_TestHelpers.hpp.

◆ zgno_t

typedef Tpetra::Map ::global_ordinal_type zgno_t

Definition at line 107 of file Zoltan2_TestHelpers.hpp.

◆ zscalar_t

typedef float zscalar_t

Definition at line 113 of file Zoltan2_TestHelpers.hpp.

Function Documentation

◆ testDataFilePath()

std::string testDataFilePath ( "." )

◆ zoltanTestDirectory()

std::string zoltanTestDirectory ( "." )