59
59
p.add("std_out_all_processes", true); // Print standard output on all processes
60
p.add("relative_line_width", 0.025); // Line width relative to edge length in SVG output
61
62
// Threaded computation
62
63
p.add("num_threads", 0); // Number of threads to run, 0 = run serial version
67
68
// Print the level of thread support provided by the MPI library
68
69
p.add("print_mpi_thread_support_level", false);
71
// Allowed partitioners (not necessarily installed)
71
72
std::set<std::string> allowed_mesh_partitioners;
72
std::string default_mesh_partitioner("ParMETIS");
73
73
allowed_mesh_partitioners.insert("ParMETIS");
75
74
allowed_mesh_partitioners.insert("SCOTCH");
77
default_mesh_partitioner = "SCOTCH";
76
// Set default graph/mesh partitioner
77
std::string default_mesh_partitioner = "SCOTCH";
80
default_mesh_partitioner = "ParMETIS";
84
// Add mesh/graph partitioner
80
85
p.add("mesh_partitioner",
81
default_mesh_partitioner,
82
allowed_mesh_partitioners);
86
default_mesh_partitioner,
87
allowed_mesh_partitioners);
85
p.add("graph_coloring_library", "Boost");
90
std::set<std::string> allowed_coloring_libraries;
91
allowed_mesh_partitioners.insert("Boost");
92
allowed_mesh_partitioners.insert("Zoltan");
93
p.add("graph_coloring_library", "Boost", allowed_coloring_libraries);
88
96
std::set<std::string> allowed_refinement_algorithms;
104
112
allowed_backends.insert("PETSc");
105
113
default_backend = "PETSc";
106
114
p.add("use_petsc_signal_handler", false);
109
116
#ifdef HAS_PETSC_CUSP
110
117
allowed_backends.insert("PETScCusp");