Zoltan2
Defines | Typedefs | Functions
Zoltan2_TestHelpers.hpp File Reference

common code used by tests More...

#include <Zoltan2_Util.hpp>
#include <iostream>
#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.

Defines

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

Typedefs

typedef
KokkosClassic::DefaultNode::DefaultNodeType 
node_t
typedef int lno_t
typedef int gno_t
typedef double scalar_t

Functions

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

Detailed Description

common code used by tests

Definition in file Zoltan2_TestHelpers.hpp.


Define Documentation

#define STR_VALUE (   path)    #path

Definition at line 59 of file Zoltan2_TestHelpers.hpp.

#define PATH_NAME (   path)    STR_VALUE(path)

Definition at line 60 of file Zoltan2_TestHelpers.hpp.

#define HAVE_EPETRA_DATA_TYPES

Definition at line 117 of file Zoltan2_TestHelpers.hpp.

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

Definition at line 121 of file Zoltan2_TestHelpers.hpp.


Typedef Documentation

typedef KokkosClassic::DefaultNode::DefaultNodeType node_t

Definition at line 55 of file Zoltan2_TestHelpers.hpp.

typedef int lno_t

Definition at line 114 of file Zoltan2_TestHelpers.hpp.

typedef int gno_t

Definition at line 115 of file Zoltan2_TestHelpers.hpp.

typedef double scalar_t

Definition at line 116 of file Zoltan2_TestHelpers.hpp.


Function Documentation

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