Zoltan2
Toggle main menu visibility
Loading...
Searching...
No Matches
Zoltan2_Standards.hpp
Go to the documentation of this file.
1
// @HEADER
2
// *****************************************************************************
3
// Zoltan2: A package of combinatorial algorithms for scientific computing
4
//
5
// Copyright 2012 NTESS and the Zoltan2 contributors.
6
// SPDX-License-Identifier: BSD-3-Clause
7
// *****************************************************************************
8
// @HEADER
9
20
21
#ifndef _ZOLTAN2_STANDARDS_HPP_
22
#define _ZOLTAN2_STANDARDS_HPP_
23
24
#include <
Zoltan2_Version.hpp
>
25
27
// Generated by CMake
28
#include <Zoltan2_config.h>
29
31
// Omit time consuming actions?
32
33
#ifdef Z2_OMIT_ALL_OPTIONAL_ACTIONS
34
#define Z2_OMIT_ALL_STATUS_MESSAGES
35
#define Z2_OMIT_ALL_PROFILING
36
#define Z2_OMIT_ALL_ERROR_CHECKING
37
#endif
38
40
// Frequently used Trilinos symbols
41
42
#include <Teuchos_RCP.hpp>
43
#include <Teuchos_Array.hpp>
44
#include <Teuchos_Tuple.hpp>
45
#include <Teuchos_ArrayRCP.hpp>
46
#include <Teuchos_ArrayView.hpp>
47
#include <Teuchos_ParameterList.hpp>
48
#include <Teuchos_ParameterEntry.hpp>
49
#include <Teuchos_DefaultComm.hpp>
50
#include <Teuchos_Comm.hpp>
51
#include <Teuchos_CommHelpers.hpp>
52
#include <Teuchos_toString.hpp>
53
#include <Tpetra_Core.hpp>
54
#include <Tpetra_ConfigDefs.hpp>
55
56
namespace
Zoltan2
{
57
58
using
Teuchos::ENull;
59
using
Teuchos::RCP;
60
using
Teuchos::rcp;
61
using
Teuchos::rcp_const_cast;
62
using
Teuchos::rcp_implicit_cast;
63
using
Teuchos::rcp_dynamic_cast;
64
using
Teuchos::Array;
65
using
Teuchos::Tuple;
66
using
Teuchos::ArrayRCP;
67
using
Teuchos::arcp_const_cast;
68
using
Teuchos::arcp_reinterpret_cast;
69
using
Teuchos::arcp;
70
using
Teuchos::ArrayView;
71
using
Teuchos::av_const_cast;
72
#ifdef HAVE_ZOLTAN2_MPI
73
using
Teuchos::MpiComm;
74
#endif
75
using
Teuchos::Comm;
76
using
Teuchos::SerialComm;
77
using
Teuchos::CommRequest;
78
using
Teuchos::ParameterList;
79
using
Teuchos::ParameterEntry;
80
using
Teuchos::reduceAll;
81
using
Teuchos::gatherAll;
82
83
typedef
Tpetra::global_size_t
global_size_t
;
84
85
}
86
87
// Workarounds for Purify; it doesn't like the standard string operations
88
#ifdef HAVE_ZOLTAN2_PURIFY
89
#define strcmp Zoltan_strcmp
90
#define strncmp Zoltan_strncmp
91
#define strcasecmp Zoltan_strcasecmp
92
#define strncasecmp Zoltan_strncasecmp
93
#endif
94
95
// For debugging
96
#define HELLO
97
//#define HELLO printf("HELLO from %s:%i\n", __FILE__, __LINE__); // Turn on for debug
98
100
// Internal macros and methods
102
103
#include <
Zoltan2_Exceptions.hpp
>
104
105
106
#endif
Zoltan2_Exceptions.hpp
Defines exception handling macros.
Zoltan2_Version.hpp
Implementation of Trilinos convention for versioning.
Zoltan2
Created by mbenlioglu on Aug 31, 2020.
Definition
Zoltan2_AlgHybrid2GL.hpp:47
Zoltan2::global_size_t
Tpetra::global_size_t global_size_t
Definition
Zoltan2_Standards.hpp:83
core
src
util
Zoltan2_Standards.hpp
Generated by
1.17.0