rebl-AMR
params.h
Go to the documentation of this file.
1
#ifndef _PARAMS_H_
2
#define _PARAMS_H_
3
8
#define METHOD 2
9
10
enum
ReblAmrParameters
:
uint
11
{
12
PROCSIZE
= 32,
13
TREESIZE
= 32,
15
ZOLTAN_ON
=1 ,
16
ZOLTAN_GEOMETRIC_PARTITION
= 1,
17
WEIGHT
= 1,
18
WR
= 1,
19
WEAK
= 3,
20
WSIZE
= 3,
21
REORDER
= 0,
22
OVERLAP
= 0,
23
PART_METHOD
= 1,
25
// ZOLTAN_DEBUG=1, /*!< defines the debug level of zoltan*/
27
npx
=2,
28
npy
=2,
29
npz
=2,
30
CHECK_MESH
=0,
31
MPI_ERROR_DISABLE
= 0,
32
};
33
34
35
typedef
enum
ReblAmrErrorCodes
{
36
SUCCESS
= 0,
37
NUM_INPUT_ARGS
= 1,
38
MPI_INIT_CHECK_FAIL
= 2,
39
MPI_INIT_FAIL
= 3,
40
MPI_DUP_FAIL
= 4,
41
COMSIZE_FAIL
= 5,
42
PROC_LEVEL
= 6,
43
MESH_LEVEL
= 7,
44
MPI_GET_RANK_FAIL
= 8,
45
MPI_COMSIZE_FAIL
= 9,
46
COMBINED_SIZE
= 10,
47
NO_SEED
= 11,
48
GRAPH_CREATE_FAIL
= 12,
49
MPI_INEIGHBOR_FAIL_ZX
= 13,
50
MPI_INEIGHBOR_FAIL_XY
= 14,
51
BLOCK_NUMBER_FAIL
= 15,
52
ALLOCATION_FAIL
= 16,
53
MPI_FINALIZE_FAIL
= 17,
54
MPI_ERROR_HANDLE_FAIL
= 18,
55
CONNECTIVITY_CONSTRUCTION_FAIL
= 19,
56
THOMAS_FAIL
= 20,
57
}
ReblAmrResult
;
58
59
60
const
char
*
ReblAmrGetErrorEnum
(
ReblAmrResult
error );
63
// #define PROCSIZE 32
64
// #define TREESIZE 32
65
66
/* ZOLTAN =1 turns partitioning on set to zero to turn it off*/
67
68
//#define ZOLTAN_ON 1
69
//#define WEIGHT 1
70
71
/* if you set the value to 1 to use geometirc based partitioning */
72
// #define ZOLTAN_GEOMETRIC_PARTITION 1
73
74
// #define WEAK 6
75
// #define WSIZE 6
76
// #define WR 0 /*! set WR to zero it will not write out, set to 1 writes out polyVertex and 2 will write multiBloc */
77
78
//#define SENDBOOL 0
79
// #define REORDER 0
80
// #define OVERLAP 0
81
82
//#if ( METHOD == 3 || METHOD == 4 )
83
// #undef OVERLAP
84
// #define OVERLAP 1
85
//#endif
86
87
#endif
WSIZE
Definition:
params.h:20
CHECK_MESH
Definition:
params.h:30
MPI_INIT_CHECK_FAIL
Definition:
params.h:38
WEAK
Definition:
params.h:19
ReblAmrGetErrorEnum
const char * ReblAmrGetErrorEnum(ReblAmrResult error)
Definition:
templateForest.cpp:7095
CONNECTIVITY_CONSTRUCTION_FAIL
Definition:
params.h:55
MESH_LEVEL
Definition:
params.h:43
npy
Definition:
params.h:28
MPI_COMSIZE_FAIL
Definition:
params.h:45
SUCCESS
Definition:
params.h:36
ZOLTAN_GEOMETRIC_PARTITION
Definition:
params.h:16
ReblAmrResult
enum ReblAmrErrorCodes ReblAmrResult
PROC_LEVEL
Definition:
params.h:42
REORDER
Definition:
params.h:21
MPI_INEIGHBOR_FAIL_XY
Definition:
params.h:50
MPI_DUP_FAIL
Definition:
params.h:40
ZOLTAN_ON
Definition:
params.h:15
MPI_ERROR_HANDLE_FAIL
Definition:
params.h:54
ReblAmrParameters
ReblAmrParameters
Definition:
params.h:10
OVERLAP
Definition:
params.h:22
npx
Definition:
params.h:27
BLOCK_NUMBER_FAIL
Definition:
params.h:51
ALLOCATION_FAIL
Definition:
params.h:52
MPI_INEIGHBOR_FAIL_ZX
Definition:
params.h:49
MPI_FINALIZE_FAIL
Definition:
params.h:53
MPI_GET_RANK_FAIL
Definition:
params.h:44
WEIGHT
Definition:
params.h:17
npz
Definition:
params.h:29
uint
unsigned int uint
Definition:
definitions.h:38
MPI_ERROR_DISABLE
Definition:
params.h:31
NO_SEED
Definition:
params.h:47
NUM_INPUT_ARGS
Definition:
params.h:37
MPI_INIT_FAIL
Definition:
params.h:39
WR
Definition:
params.h:18
GRAPH_CREATE_FAIL
Definition:
params.h:48
PROCSIZE
Definition:
params.h:12
COMBINED_SIZE
Definition:
params.h:46
ReblAmrErrorCodes
ReblAmrErrorCodes
Definition:
params.h:35
COMSIZE_FAIL
Definition:
params.h:41
PART_METHOD
Definition:
params.h:23
TREESIZE
Definition:
params.h:13
THOMAS_FAIL
Definition:
params.h:56
src
include
params.h
Generated by
1.8.14