28 if (candidateAlias ==
"GMRES") {
29 return std::make_pair (std::string (
"PSEUDOBLOCK GMRES"),
true);
31 else if (candidateAlias ==
"BLOCK GMRES") {
32 return std::make_pair (std::string (
"BLOCK GMRES"),
true);
34 else if (candidateAlias ==
"FLEXIBLE GMRES") {
35 return std::make_pair (std::string (
"BLOCK GMRES"),
true);
37 else if (candidateAlias ==
"CG") {
38 return std::make_pair (std::string (
"PSEUDOBLOCK CG"),
true);
40 else if (candidateAlias ==
"PSEUDOBLOCKCG") {
41 return std::make_pair (std::string (
"PSEUDOBLOCK CG"),
true);
43 else if (candidateAlias ==
"STOCHASTIC CG") {
44 return std::make_pair (std::string (
"PSEUDOBLOCK STOCHASTIC CG"),
true);
46 else if (candidateAlias ==
"RECYCLING CG") {
47 return std::make_pair (std::string (
"RCG"),
true);
49 else if (candidateAlias ==
"RECYCLING GMRES") {
50 return std::make_pair (std::string (
"GCRODR"),
true);
53 else if (candidateAlias ==
"PSEUDO BLOCK GMRES") {
54 return std::make_pair (std::string (
"PSEUDOBLOCK GMRES"),
true);
56 else if (candidateAlias ==
"PSEUDOBLOCKGMRES") {
57 return std::make_pair (std::string (
"PSEUDOBLOCK GMRES"),
true);
59 else if (candidateAlias ==
"PSEUDO BLOCK CG") {
60 return std::make_pair (std::string (
"PSEUDOBLOCK CG"),
true);
62 else if (candidateAlias ==
"PSEUDOBLOCKCG") {
63 return std::make_pair (std::string (
"PSEUDOBLOCK CG"),
true);
65 else if (candidateAlias ==
"TRANSPOSE-FREE QMR") {
66 return std::make_pair (std::string (
"TFQMR"),
true);
68 else if (candidateAlias ==
"PSEUDO BLOCK TFQMR") {
69 return std::make_pair (std::string (
"PSEUDOBLOCK TFQMR"),
true);
71 else if (candidateAlias ==
"PSEUDO BLOCK TRANSPOSE-FREE QMR") {
72 return std::make_pair (std::string (
"PSEUDOBLOCK TFQMR"),
true);
74 else if (candidateAlias ==
"GMRESPOLY") {
75 return std::make_pair (std::string (
"HYBRID BLOCK GMRES"),
true);
77 else if (candidateAlias ==
"SEED GMRES") {
78 return std::make_pair (std::string (
"HYBRID BLOCK GMRES"),
true);
80 else if (candidateAlias ==
"CGPOLY") {
81 return std::make_pair (std::string (
"PCPG"),
true);
83 else if (candidateAlias ==
"SEED CG") {
84 return std::make_pair (std::string (
"PCPG"),
true);
86 else if (candidateAlias ==
"FIXED POINT") {
87 return std::make_pair (std::string (
"FIXED POINT"),
true);
89 else if (candidateAlias ==
"BICGSTAB") {
90 return std::make_pair (std::string (
"BICGSTAB"),
true);
93 return std::make_pair (candidateAlias,
false);