Stratimikos Package Browser (Single Doxygen Collection)
Version of the Day
|
Functions | |
int | existingNameIndex (const Teuchos::ArrayView< std::string > namesArray, const std::string &name) |
Return the index of a name in an array of names. More... | |
int Stratimikos::LinearSolverBuilderHelpers::existingNameIndex | ( | const Teuchos::ArrayView< std::string > | namesArray, |
const std::string & | name | ||
) |
Return the index of a name in an array of names.
If name
does not exist in namesArray
, then < 0 will be returned.
NOTE: This function is not templated so it is better to not add it to the templated class LinearSolverBuilder above.