121 const Teuchos::ParameterList &plSome,
122 const Teuchos::ParameterList &plAll,
123 Teuchos::ParameterList &plVal)
125 ParameterList::ConstIterator next = plSome.begin();
127 while (next != plSome.end()){
129 const std::string &name = next->first;
130 const ParameterEntry &entrySome = plSome.getEntry(name);
131 const ParameterEntry &entryAll = plAll.getEntry(name);
133 if (entrySome.isList()){
138 plVal.setEntry(name, entryAll);
152 const Teuchos::ParameterList &plIn,
153 Teuchos::ParameterList &plOut)
155 ParameterList allParameters;
168 const Teuchos::ParameterList &pl,
170 std::string listNames)
173 if (listNames.size() == 0)
174 listNames = std::string(
"top");
176 Array<std::string> subLists;
177 ParameterList::ConstIterator next = pl.begin();
179 while (next != pl.end()){
180 const std::string &name = next->first;
181 const ParameterEntry &entry = pl.getEntry(name);
184 subLists.append(name);
187 std::string doc = entry.docString();
188 os <<
"List: "<< listNames <<
", parameter: " << name <<
"\n";
196 for (
int i=0; i < subLists.size(); i++){
197 std::string newListName = listNames + std::string(
"/") + subLists[i];
198 const ParameterList &sublist = pl.sublist(subLists[i]);
Defines the ColoringProblem class.
#define Z2_FORWARD_EXCEPTIONS
Forward an exception back through call stack.
Defines Parameter related enumerators, declares functions.
void createValidatorList(const Teuchos::ParameterList &plIn, Teuchos::ParameterList &plOut)
Create a list by adding validators to the users parameter list.
A simple class that can be the User template argument for an InputAdapter.
void createAllParameters(Teuchos::ParameterList &pList)
Create a list of all Zoltan2 parameters and validators.
void printListDocumentation(const Teuchos::ParameterList &pl, std::ostream &os, std::string listNames)
static void getValidParameters(ParameterList &pl)
Set up validators specific to this Problem.
This class represents a collection of global Identifiers and their associated weights, if any.
static void getValidParameters(ParameterList &pl)
static void getValidParameters(ParameterList &pl)
Set up validators specific to this Problem.
static void getValidParameters(ParameterList &pl)
Collect the paramaters specific to Environment.
Defines the Problem base class.
Defines the OrderingProblem class.
Defines the BasicIdentifierAdapter class.
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.
static void getValidParameters(ParameterList &pl)
Set up validators specific to this Problem.
Defines the PartitioningProblem class.
static void getValidParameters(ParameterList &pl)
Set up validators specific to this Problem.
Defines the MappingProblem class.