Zoltan2
Toggle main menu visibility
Loading...
Searching...
No Matches
Zoltan2_Standards.hpp
Go to the documentation of this file.
1
// @HEADER
2
//
3
// ***********************************************************************
4
//
5
// Zoltan2: A package of combinatorial algorithms for scientific computing
6
// Copyright 2012 Sandia Corporation
7
//
8
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
9
// the U.S. Government retains certain rights in this software.
10
//
11
// Redistribution and use in source and binary forms, with or without
12
// modification, are permitted provided that the following conditions are
13
// met:
14
//
15
// 1. Redistributions of source code must retain the above copyright
16
// notice, this list of conditions and the following disclaimer.
17
//
18
// 2. Redistributions in binary form must reproduce the above copyright
19
// notice, this list of conditions and the following disclaimer in the
20
// documentation and/or other materials provided with the distribution.
21
//
22
// 3. Neither the name of the Corporation nor the names of the
23
// contributors may be used to endorse or promote products derived from
24
// this software without specific prior written permission.
25
//
26
// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
27
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
28
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
29
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
30
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
31
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
32
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
33
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
34
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
35
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
36
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
37
//
38
// Questions? Contact Karen Devine (kddevin@sandia.gov)
39
// Erik Boman (egboman@sandia.gov)
40
// Siva Rajamanickam (srajama@sandia.gov)
41
//
42
// ***********************************************************************
43
//
44
// @HEADER
45
56
57
#ifndef _ZOLTAN2_STANDARDS_HPP_
58
#define _ZOLTAN2_STANDARDS_HPP_
59
60
#include <
Zoltan2_Version.hpp
>
61
63
// Generated by CMake
64
#include <Zoltan2_config.h>
65
67
// Omit time consuming actions?
68
69
#ifdef Z2_OMIT_ALL_OPTIONAL_ACTIONS
70
#define Z2_OMIT_ALL_STATUS_MESSAGES
71
#define Z2_OMIT_ALL_PROFILING
72
#define Z2_OMIT_ALL_ERROR_CHECKING
73
#endif
74
76
// Frequently used Trilinos symbols
77
78
#include <Teuchos_RCP.hpp>
79
#include <Teuchos_Array.hpp>
80
#include <Teuchos_Tuple.hpp>
81
#include <Teuchos_ArrayRCP.hpp>
82
#include <Teuchos_ArrayView.hpp>
83
#include <Teuchos_ParameterList.hpp>
84
#include <Teuchos_ParameterEntry.hpp>
85
#include <Teuchos_DefaultComm.hpp>
86
#include <Teuchos_Comm.hpp>
87
#include <Teuchos_CommHelpers.hpp>
88
#include <Teuchos_toString.hpp>
89
#include <Tpetra_Core.hpp>
90
#include <Tpetra_ConfigDefs.hpp>
91
92
namespace
Zoltan2
{
93
94
using
Teuchos::ENull;
95
using
Teuchos::RCP;
96
using
Teuchos::rcp;
97
using
Teuchos::rcp_const_cast;
98
using
Teuchos::rcp_implicit_cast;
99
using
Teuchos::rcp_dynamic_cast;
100
using
Teuchos::Array;
101
using
Teuchos::Tuple;
102
using
Teuchos::ArrayRCP;
103
using
Teuchos::arcp_const_cast;
104
using
Teuchos::arcp_reinterpret_cast;
105
using
Teuchos::arcp;
106
using
Teuchos::ArrayView;
107
using
Teuchos::av_const_cast;
108
#ifdef HAVE_ZOLTAN2_MPI
109
using
Teuchos::MpiComm;
110
#endif
111
using
Teuchos::Comm;
112
using
Teuchos::SerialComm;
113
using
Teuchos::CommRequest;
114
using
Teuchos::ParameterList;
115
using
Teuchos::ParameterEntry;
116
using
Teuchos::reduceAll;
117
using
Teuchos::gatherAll;
118
119
typedef
Tpetra::global_size_t
global_size_t
;
120
121
}
122
123
// Workarounds for Purify; it doesn't like the standard string operations
124
#ifdef HAVE_ZOLTAN2_PURIFY
125
#define strcmp Zoltan_strcmp
126
#define strncmp Zoltan_strncmp
127
#define strcasecmp Zoltan_strcasecmp
128
#define strncasecmp Zoltan_strncasecmp
129
#endif
130
131
// For debugging
132
#define HELLO
133
//#define HELLO printf("HELLO from %s:%i\n", __FILE__, __LINE__); // Turn on for debug
134
136
// Internal macros and methods
138
139
#include <
Zoltan2_Exceptions.hpp
>
140
141
142
#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:38
Zoltan2::global_size_t
Tpetra::global_size_t global_size_t
Definition
Zoltan2_Standards.hpp:119
core
src
util
Zoltan2_Standards.hpp
Generated by
1.17.0