Zoltan2
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
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
56namespace Zoltan2{
57
58using Teuchos::ENull;
59using Teuchos::RCP;
60using Teuchos::rcp;
61using Teuchos::rcp_const_cast;
62using Teuchos::rcp_implicit_cast;
63using Teuchos::rcp_dynamic_cast;
64using Teuchos::Array;
65using Teuchos::Tuple;
66using Teuchos::ArrayRCP;
67using Teuchos::arcp_const_cast;
68using Teuchos::arcp_reinterpret_cast;
69using Teuchos::arcp;
70using Teuchos::ArrayView;
71using Teuchos::av_const_cast;
72#ifdef HAVE_ZOLTAN2_MPI
73using Teuchos::MpiComm;
74#endif
75using Teuchos::Comm;
76using Teuchos::SerialComm;
77using Teuchos::CommRequest;
78using Teuchos::ParameterList;
79using Teuchos::ParameterEntry;
80using Teuchos::reduceAll;
81using Teuchos::gatherAll;
82
83typedef 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
Defines exception handling macros.
Implementation of Trilinos convention for versioning.
Created by mbenlioglu on Aug 31, 2020.
Tpetra::global_size_t global_size_t