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 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.