Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Belos: Fix #994 (make ICGS default orthogonalizer for GMRES) #4650

Merged
merged 1 commit into from
Mar 19, 2019
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 5 additions & 4 deletions packages/belos/src/BelosPseudoBlockGmresSolMgr.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,9 @@ namespace Belos {
* bigger than the "Block Size" parameter.
* - "Orthogonalization" (\c std::string): The desired
* orthogonalization method. Currently accepted values are
* "DGKS", "ICGS", and "IMGS". Please refer to Belos'
* documentation for more details.
* "DGKS", "ICGS", "IMGS", and optionally "TSQR" (depending on
* build settings). Please refer to Belos' documentation for
* more details.
*
* For an explanation of "implicit" vs. "explicit" residuals,
* please see the documentation of isLOADetected(). The
Expand Down Expand Up @@ -502,7 +503,7 @@ namespace Belos {
static constexpr const char * impResScale_default_ = "Norm of Preconditioned Initial Residual";
static constexpr const char * expResScale_default_ = "Norm of Initial Residual";
static constexpr const char * label_default_ = "Belos";
static constexpr const char * orthoType_default_ = "DGKS";
static constexpr const char * orthoType_default_ = "ICGS";
static constexpr std::ostream * outputStream_default_ = &std::cout;

// Current solver values.
Expand Down Expand Up @@ -1137,7 +1138,7 @@ PseudoBlockGmresSolMgr<ScalarType,MV,OP>::getValidParameters() const
pl->set("Timer Label", static_cast<const char *>(label_default_),
"The string to use as a prefix for the timer labels.");
pl->set("Orthogonalization", static_cast<const char *>(orthoType_default_),
"The type of orthogonalization to use: DGKS, ICGS, IMGS.");
"The type of orthogonalization to use.");
pl->set("Orthogonalization Constant",static_cast<MagnitudeType>(DefaultSolverParameters::orthoKappa),
"The constant used by DGKS orthogonalization to determine\n"
"whether another step of classical Gram-Schmidt is necessary.");
Expand Down