12 #ifdef HAVE_STRATIMIKOS_EXPLICIT_INSTANTIATION
17 namespace Stratimikos {
22 const Teuchos::ArrayView<std::
string> namesArray, const std::
string &name)
25 const iter_t iter_begin = namesArray.begin(), iter_end = namesArray.end();
26 const iter_t iter = std::find(iter_begin, iter_end, name);
27 if (iter != iter_end) {
28 return (iter - iter_begin);
35 #endif // HAVE_STRATIMIKOS_EXPLICIT_INSTANTIATION
#define TEUCHOS_MACRO_TEMPLATE_INSTANT_SCALAR_TYPES(MACRONAME)
#define STRATIMIKOS_LINEARSOLVERBUILDER_INSTANT(SCALAR)
const_pointer const_iterator
int existingNameIndex(const Teuchos::ArrayView< std::string > namesArray, const std::string &name)
Return the index of a name in an array of names.