Zoltan2
Toggle main menu visibility
Loading...
Searching...
No Matches
Zoltan2_Parameters.hpp
Go to the documentation of this file.
1
//
2
// Zoltan2: A package of combinatorial algorithms for scientific computing
3
// Copyright 2012 Sandia Corporation
4
//
5
// Under the terms of Contract DE-AC04-94AL85000 with Sandia Corporation,
6
// the U.S. Government retains certain rights in this software.
7
//
8
// Redistribution and use in source and binary forms, with or without
9
// modification, are permitted provided that the following conditions are
10
// met:
11
//
12
// 1. Redistributions of source code must retain the above copyright
13
// notice, this list of conditions and the following disclaimer.
14
//
15
// 2. Redistributions in binary form must reproduce the above copyright
16
// notice, this list of conditions and the following disclaimer in the
17
// documentation and/or other materials provided with the distribution.
18
//
19
// 3. Neither the name of the Corporation nor the names of the
20
// contributors may be used to endorse or promote products derived from
21
// this software without specific prior written permission.
22
//
23
// THIS SOFTWARE IS PROVIDED BY SANDIA CORPORATION "AS IS" AND ANY
24
// EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
25
// IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
26
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL SANDIA CORPORATION OR THE
27
// CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
28
// EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
29
// PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
30
// PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
31
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
32
// NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
33
// SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34
//
35
// Questions? Contact Karen Devine (kddevin@sandia.gov)
36
// Erik Boman (egboman@sandia.gov)
37
// Siva Rajamanickam (srajama@sandia.gov)
38
//
39
43
44
#ifndef _ZOLTAN2_PARAMETERS_HPP_
45
#define _ZOLTAN2_PARAMETERS_HPP_
46
47
#include <
Zoltan2_Standards.hpp
>
48
49
namespace
Zoltan2
{
50
52
// Parameter-related namespace methods
53
54
void
createAllParameters
(Teuchos::ParameterList &pList);
55
56
void
createValidatorList
(
57
const
Teuchos::ParameterList &plIn, Teuchos::ParameterList &plOut);
58
59
void
printListDocumentation
(
const
Teuchos::ParameterList &pl, std::ostream &os,
60
std::string listNames=std::string(
""
));
61
63
// Parameter-related enumerated types.
64
//
65
// If you change these enumerators, change their documentation
66
// in data/parameters.xml.
67
//
68
80
81
enum
AssertionLevel
{
82
NO_ASSERTIONS
,
83
BASIC_ASSERTION
,
84
COMPLEX_ASSERTION
,
85
DEBUG_MODE_ASSERTION
,
86
NUM_ASSERTION_LEVELS
87
};
88
97
98
enum
MessageOutputLevel
{
99
NO_STATUS
,
100
BASIC_STATUS
,
101
DETAILED_STATUS
,
102
VERBOSE_DETAILED_STATUS
,
103
NUM_STATUS_OUTPUT_LEVELS
104
};
105
117
118
enum
TimerType
{
119
NO_TIMERS
,
120
MACRO_TIMERS
,
121
MICRO_TIMERS
,
122
BOTH_TIMERS
,
123
TEST_TIMERS
,
124
NUM_TIMING_OPTIONS
125
};
126
129
130
enum
OSType
{
131
COUT_STREAM
,
132
CERR_STREAM
,
133
NULL_STREAM
,
134
NUM_OUTPUT_STREAMS
135
};
136
139
enum
multiCriteriaNorm
{
140
normMinimizeTotalWeight
,
141
normBalanceTotalMaximum
,
142
normMinimizeMaximumWeight
,
143
normNumNorms
144
};
145
146
}
// end of namespace Zoltan2
147
148
#endif
Zoltan2_Standards.hpp
Gathering definitions used in software development.
Zoltan2
Created by mbenlioglu on Aug 31, 2020.
Definition
Zoltan2_AlgHybrid2GL.hpp:38
Zoltan2::TimerType
TimerType
The type of timers which should be active.
Definition
Zoltan2_Parameters.hpp:118
Zoltan2::NO_TIMERS
@ NO_TIMERS
No timing data will be collected (the default).
Definition
Zoltan2_Parameters.hpp:119
Zoltan2::MACRO_TIMERS
@ MACRO_TIMERS
Time an algorithm (or other entity) as a whole.
Definition
Zoltan2_Parameters.hpp:120
Zoltan2::TEST_TIMERS
@ TEST_TIMERS
Timers added while testing, removed later.
Definition
Zoltan2_Parameters.hpp:123
Zoltan2::MICRO_TIMERS
@ MICRO_TIMERS
Time the substeps of an entity.
Definition
Zoltan2_Parameters.hpp:121
Zoltan2::BOTH_TIMERS
@ BOTH_TIMERS
Run both MACRO and MICRO timers.
Definition
Zoltan2_Parameters.hpp:122
Zoltan2::NUM_TIMING_OPTIONS
@ NUM_TIMING_OPTIONS
Definition
Zoltan2_Parameters.hpp:124
Zoltan2::MessageOutputLevel
MessageOutputLevel
The amount of debugging or status output to print.
Definition
Zoltan2_Parameters.hpp:98
Zoltan2::BASIC_STATUS
@ BASIC_STATUS
the status at each high level step
Definition
Zoltan2_Parameters.hpp:100
Zoltan2::DETAILED_STATUS
@ DETAILED_STATUS
sub-steps, each method's entry and exit
Definition
Zoltan2_Parameters.hpp:101
Zoltan2::NUM_STATUS_OUTPUT_LEVELS
@ NUM_STATUS_OUTPUT_LEVELS
Definition
Zoltan2_Parameters.hpp:103
Zoltan2::NO_STATUS
@ NO_STATUS
don't display status/debug messages
Definition
Zoltan2_Parameters.hpp:99
Zoltan2::VERBOSE_DETAILED_STATUS
@ VERBOSE_DETAILED_STATUS
include more detail about sub-steps
Definition
Zoltan2_Parameters.hpp:102
Zoltan2::OSType
OSType
Output stream types.
Definition
Zoltan2_Parameters.hpp:130
Zoltan2::CERR_STREAM
@ CERR_STREAM
std::cerr
Definition
Zoltan2_Parameters.hpp:132
Zoltan2::NULL_STREAM
@ NULL_STREAM
/dev/null: do actions but don't output results
Definition
Zoltan2_Parameters.hpp:133
Zoltan2::NUM_OUTPUT_STREAMS
@ NUM_OUTPUT_STREAMS
Definition
Zoltan2_Parameters.hpp:134
Zoltan2::COUT_STREAM
@ COUT_STREAM
std::cout
Definition
Zoltan2_Parameters.hpp:131
Zoltan2::printListDocumentation
void printListDocumentation(const Teuchos::ParameterList &pl, std::ostream &os, std::string listNames)
Definition
Zoltan2_Parameters.cpp:167
Zoltan2::AssertionLevel
AssertionLevel
Level of error checking or assertions desired.
Definition
Zoltan2_Parameters.hpp:81
Zoltan2::BASIC_ASSERTION
@ BASIC_ASSERTION
fast typical checks for valid arguments
Definition
Zoltan2_Parameters.hpp:83
Zoltan2::NO_ASSERTIONS
@ NO_ASSERTIONS
no assertion checks will be done
Definition
Zoltan2_Parameters.hpp:82
Zoltan2::DEBUG_MODE_ASSERTION
@ DEBUG_MODE_ASSERTION
checks for logic errors
Definition
Zoltan2_Parameters.hpp:85
Zoltan2::NUM_ASSERTION_LEVELS
@ NUM_ASSERTION_LEVELS
Definition
Zoltan2_Parameters.hpp:86
Zoltan2::COMPLEX_ASSERTION
@ COMPLEX_ASSERTION
more involved, like validate a graph
Definition
Zoltan2_Parameters.hpp:84
Zoltan2::createAllParameters
void createAllParameters(Teuchos::ParameterList &pList)
Create a list of all Zoltan2 parameters and validators.
Definition
Zoltan2_Parameters.cpp:71
Zoltan2::multiCriteriaNorm
multiCriteriaNorm
Enumerator used in code for multicriteria norm choice.
Definition
Zoltan2_Parameters.hpp:139
Zoltan2::normBalanceTotalMaximum
@ normBalanceTotalMaximum
Definition
Zoltan2_Parameters.hpp:141
Zoltan2::normMinimizeTotalWeight
@ normMinimizeTotalWeight
Definition
Zoltan2_Parameters.hpp:140
Zoltan2::normNumNorms
@ normNumNorms
Definition
Zoltan2_Parameters.hpp:143
Zoltan2::normMinimizeMaximumWeight
@ normMinimizeMaximumWeight
Definition
Zoltan2_Parameters.hpp:142
Zoltan2::createValidatorList
void createValidatorList(const Teuchos::ParameterList &plIn, Teuchos::ParameterList &plOut)
Create a list by adding validators to the users parameter list.
Definition
Zoltan2_Parameters.cpp:151
core
src
environment
Zoltan2_Parameters.hpp
Generated by
1.17.0