40 const int maxOptions = 2;
42 const char* optionNames[maxOptions];
44 std::stringstream documentation;
46 documentation <<
"linear algebra library (";
49#if defined(HAVE_XPETRA_EPETRA)
50 documentation <<
"Epetra";
54 optionNames[nOptions] =
"Epetra";
57#if defined(HAVE_XPETRA_TPETRA)
58#if defined(HAVE_XPETRA_EPETRA)
59 documentation <<
", ";
61 documentation <<
"Tpetra";
65 optionNames[nOptions] =
"Tpetra";
72#if defined(HAVE_XPETRA_TPETRA)
74 const int maxInstOptions = 5;
76 const char* instOptionNames[maxInstOptions];
81#if defined(HAVE_MUELU_INST_DOUBLE_INT_INT) || defined(HAVE_TPETRA_INST_DOUBLE) && defined(HAVE_TPETRA_INST_INT_INT)
84 instOptionNames[nInstOptions] =
"DOUBLE_INT_INT";
87#if defined(HAVE_MUELU_INST_DOUBLE_INT_LONGINT) || defined(HAVE_TPETRA_INST_DOUBLE) && defined(HAVE_TPETRA_INST_INT_LONG)
90 instOptionNames[nInstOptions] =
"DOUBLE_INT_LONGINT";
93#if defined(HAVE_MUELU_INST_DOUBLE_INT_LONGLONGINT) || defined(HAVE_TPETRA_INST_DOUBLE) && defined(HAVE_TPETRA_INST_INT_LONG_LONG)
96 instOptionNames[nInstOptions] =
"DOUBLE_INT_LONGLONGINT";
99#if defined(HAVE_MUELU_INST_COMPLEX_INT_INT) || defined(HAVE_TPETRA_INST_COMPLEX_DOUBLE) && defined(HAVE_TPETRA_INST_INT_INT)
102 instOptionNames[nInstOptions] =
"COMPLEX_INT_INT";
105#if defined(HAVE_MUELU_INST_FLOAT_INT_INT) || defined(HAVE_TPETRA_INST_FLOAT) && defined(HAVE_TPETRA_INST_INT_INT)
108 instOptionNames[nInstOptions] =
"FLOAT_INT_INT";
111 std::stringstream instDocumentation;
112 instDocumentation <<
"choice of instantiation";