Zoltan2
Toggle main menu visibility
Loading...
Searching...
No Matches
Zoltan2_Parameters.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
13
14
#ifndef _ZOLTAN2_PARAMETERS_HPP_
15
#define _ZOLTAN2_PARAMETERS_HPP_
16
17
#include <
Zoltan2_Standards.hpp
>
18
19
namespace
Zoltan2
{
20
22
// Parameter-related namespace methods
23
24
void
createAllParameters
(Teuchos::ParameterList &pList);
25
26
void
createValidatorList
(
27
const
Teuchos::ParameterList &plIn, Teuchos::ParameterList &plOut);
28
29
void
printListDocumentation
(
const
Teuchos::ParameterList &pl, std::ostream &os,
30
std::string listNames=std::string(
""
));
31
33
// Parameter-related enumerated types.
34
//
35
// If you change these enumerators, change their documentation
36
// in data/parameters.xml.
37
//
38
50
51
enum
AssertionLevel
{
52
NO_ASSERTIONS
,
53
BASIC_ASSERTION
,
54
COMPLEX_ASSERTION
,
55
DEBUG_MODE_ASSERTION
,
56
NUM_ASSERTION_LEVELS
57
};
58
67
68
enum
MessageOutputLevel
{
69
NO_STATUS
,
70
BASIC_STATUS
,
71
DETAILED_STATUS
,
72
VERBOSE_DETAILED_STATUS
,
73
NUM_STATUS_OUTPUT_LEVELS
74
};
75
87
88
enum
TimerType
{
89
NO_TIMERS
,
90
MACRO_TIMERS
,
91
MICRO_TIMERS
,
92
BOTH_TIMERS
,
93
TEST_TIMERS
,
94
NUM_TIMING_OPTIONS
95
};
96
99
100
enum
OSType
{
101
COUT_STREAM
,
102
CERR_STREAM
,
103
NULL_STREAM
,
104
NUM_OUTPUT_STREAMS
105
};
106
109
enum
multiCriteriaNorm
{
110
normMinimizeTotalWeight
,
111
normBalanceTotalMaximum
,
112
normMinimizeMaximumWeight
,
113
normNumNorms
114
};
115
116
}
// end of namespace Zoltan2
117
118
#endif
Zoltan2_Standards.hpp
Gathering definitions used in software development.
Zoltan2
Created by mbenlioglu on Aug 31, 2020.
Definition
Zoltan2_AlgHybrid2GL.hpp:47
Zoltan2::TimerType
TimerType
The type of timers which should be active.
Definition
Zoltan2_Parameters.hpp:88
Zoltan2::NO_TIMERS
@ NO_TIMERS
No timing data will be collected (the default).
Definition
Zoltan2_Parameters.hpp:89
Zoltan2::MACRO_TIMERS
@ MACRO_TIMERS
Time an algorithm (or other entity) as a whole.
Definition
Zoltan2_Parameters.hpp:90
Zoltan2::TEST_TIMERS
@ TEST_TIMERS
Timers added while testing, removed later.
Definition
Zoltan2_Parameters.hpp:93
Zoltan2::MICRO_TIMERS
@ MICRO_TIMERS
Time the substeps of an entity.
Definition
Zoltan2_Parameters.hpp:91
Zoltan2::BOTH_TIMERS
@ BOTH_TIMERS
Run both MACRO and MICRO timers.
Definition
Zoltan2_Parameters.hpp:92
Zoltan2::NUM_TIMING_OPTIONS
@ NUM_TIMING_OPTIONS
Definition
Zoltan2_Parameters.hpp:94
Zoltan2::MessageOutputLevel
MessageOutputLevel
The amount of debugging or status output to print.
Definition
Zoltan2_Parameters.hpp:68
Zoltan2::BASIC_STATUS
@ BASIC_STATUS
the status at each high level step
Definition
Zoltan2_Parameters.hpp:70
Zoltan2::DETAILED_STATUS
@ DETAILED_STATUS
sub-steps, each method's entry and exit
Definition
Zoltan2_Parameters.hpp:71
Zoltan2::NUM_STATUS_OUTPUT_LEVELS
@ NUM_STATUS_OUTPUT_LEVELS
Definition
Zoltan2_Parameters.hpp:73
Zoltan2::NO_STATUS
@ NO_STATUS
don't display status/debug messages
Definition
Zoltan2_Parameters.hpp:69
Zoltan2::VERBOSE_DETAILED_STATUS
@ VERBOSE_DETAILED_STATUS
include more detail about sub-steps
Definition
Zoltan2_Parameters.hpp:72
Zoltan2::OSType
OSType
Output stream types.
Definition
Zoltan2_Parameters.hpp:100
Zoltan2::CERR_STREAM
@ CERR_STREAM
std::cerr
Definition
Zoltan2_Parameters.hpp:102
Zoltan2::NULL_STREAM
@ NULL_STREAM
/dev/null: do actions but don't output results
Definition
Zoltan2_Parameters.hpp:103
Zoltan2::NUM_OUTPUT_STREAMS
@ NUM_OUTPUT_STREAMS
Definition
Zoltan2_Parameters.hpp:104
Zoltan2::COUT_STREAM
@ COUT_STREAM
std::cout
Definition
Zoltan2_Parameters.hpp:101
Zoltan2::printListDocumentation
void printListDocumentation(const Teuchos::ParameterList &pl, std::ostream &os, std::string listNames)
Definition
Zoltan2_Parameters.cpp:131
Zoltan2::AssertionLevel
AssertionLevel
Level of error checking or assertions desired.
Definition
Zoltan2_Parameters.hpp:51
Zoltan2::BASIC_ASSERTION
@ BASIC_ASSERTION
fast typical checks for valid arguments
Definition
Zoltan2_Parameters.hpp:53
Zoltan2::NO_ASSERTIONS
@ NO_ASSERTIONS
no assertion checks will be done
Definition
Zoltan2_Parameters.hpp:52
Zoltan2::DEBUG_MODE_ASSERTION
@ DEBUG_MODE_ASSERTION
checks for logic errors
Definition
Zoltan2_Parameters.hpp:55
Zoltan2::NUM_ASSERTION_LEVELS
@ NUM_ASSERTION_LEVELS
Definition
Zoltan2_Parameters.hpp:56
Zoltan2::COMPLEX_ASSERTION
@ COMPLEX_ASSERTION
more involved, like validate a graph
Definition
Zoltan2_Parameters.hpp:54
Zoltan2::createAllParameters
void createAllParameters(Teuchos::ParameterList &pList)
Create a list of all Zoltan2 parameters and validators.
Definition
Zoltan2_Parameters.cpp:35
Zoltan2::multiCriteriaNorm
multiCriteriaNorm
Enumerator used in code for multicriteria norm choice.
Definition
Zoltan2_Parameters.hpp:109
Zoltan2::normBalanceTotalMaximum
@ normBalanceTotalMaximum
Definition
Zoltan2_Parameters.hpp:111
Zoltan2::normMinimizeTotalWeight
@ normMinimizeTotalWeight
Definition
Zoltan2_Parameters.hpp:110
Zoltan2::normNumNorms
@ normNumNorms
Definition
Zoltan2_Parameters.hpp:113
Zoltan2::normMinimizeMaximumWeight
@ normMinimizeMaximumWeight
Definition
Zoltan2_Parameters.hpp:112
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:115
core
src
environment
Zoltan2_Parameters.hpp
Generated by
1.17.0