10 #include "Stratimikos_LinearSolverBuilder_decl.hpp"
12 #ifdef HAVE_STRATIMIKOS_EXPLICIT_INSTANTIATION
14 #include "Stratimikos_LinearSolverBuilder_def.hpp"
15 #include "Teuchos_ExplicitInstantiationHelpers.hpp"
17 namespace Stratimikos {
21 int LinearSolverBuilderHelpers::existingNameIndex(
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)
const_pointer const_iterator