Stratimikos Package Browser (Single Doxygen Collection) Version of the Day
Loading...
Searching...
No Matches
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.

Function Documentation

◆ existingNameIndex()

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.