Stratimikos Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Functions
Stratimikos::LinearSolverBuilderHelpers Namespace Reference

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

Function Documentation

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.