85 const Teuchos::ParameterList &plSome,
86 const Teuchos::ParameterList &plAll,
87 Teuchos::ParameterList &plVal)
89 ParameterList::ConstIterator next = plSome.begin();
91 while (next != plSome.end()){
93 const std::string &name = next->first;
94 const ParameterEntry &entrySome = plSome.getEntry(name);
95 const ParameterEntry &entryAll = plAll.getEntry(name);
97 if (entrySome.isList()){
102 plVal.setEntry(name, entryAll);
116 const Teuchos::ParameterList &plIn,
117 Teuchos::ParameterList &plOut)
119 ParameterList allParameters;
132 const Teuchos::ParameterList &pl,
134 std::string listNames)
137 if (listNames.size() == 0)
138 listNames = std::string(
"top");
140 Array<std::string> subLists;
141 ParameterList::ConstIterator next = pl.begin();
143 while (next != pl.end()){
144 const std::string &name = next->first;
145 const ParameterEntry &entry = pl.getEntry(name);
148 subLists.append(name);
151 std::string doc = entry.docString();
152 os <<
"List: "<< listNames <<
", parameter: " << name <<
"\n";
160 for (
int i=0; i < subLists.size(); i++){
161 std::string newListName = listNames + std::string(
"/") + subLists[i];
162 const ParameterList &sublist = pl.sublist(subLists[i]);
Defines the BasicIdentifierAdapter class.
Defines the ColoringProblem class.
#define Z2_FORWARD_EXCEPTIONS
Forward an exception back through call stack.
Defines the MappingProblem class.
Defines the OrderingProblem class.
Defines Parameter related enumerators, declares functions.
Defines the PartitioningProblem class.
Defines the Problem base class.
This class represents a collection of global Identifiers and their associated weights,...
A simple class that can be the User template argument for an InputAdapter.
static void getValidParameters(ParameterList &pl)
Set up validators specific to this Problem.
static void getValidParameters(ParameterList &pl)
Collect the paramaters specific to Environment.
static void getValidParameters(ParameterList &pl)
Set up validators specific to this Problem.
static void getValidParameters(ParameterList &pl)
Set up validators specific to this Problem.
static void getValidParameters(ParameterList &pl)
Set up validators specific to this Problem.
static void getValidParameters(ParameterList &pl)
Created by mbenlioglu on Aug 31, 2020.
void printListDocumentation(const Teuchos::ParameterList &pl, std::ostream &os, std::string listNames)
static void setValidatorsInList(const Teuchos::ParameterList &plSome, const Teuchos::ParameterList &plAll, Teuchos::ParameterList &plVal)
Create a parameter list that can validate a specific list of parameters.
void createAllParameters(Teuchos::ParameterList &pList)
Create a list of all Zoltan2 parameters and validators.
void createValidatorList(const Teuchos::ParameterList &plIn, Teuchos::ParameterList &plOut)
Create a list by adding validators to the users parameter list.