34 if( ParameterList.isParameter(
"AddZeroToDiag") )
39 if( ParameterList.isParameter(
"AddToDiag") )
40 AddToDiag_ = ParameterList.get<
double>(
"AddToDiag");
43 if( ParameterList.isParameter(
"Refactorize") )
49 if( ParameterList.isParameter(
"RcondThreshold") )
54 if( ParameterList.isParameter(
"MaxProcs") )
62 if( ParameterList.isParameter(
"MatrixProperty") ) {
63 std::string MatrixProperty;
64 MatrixProperty = ParameterList.get<std::string>(
"MatrixProperty");
65 if( MatrixProperty ==
"SPD" )
67 else if( MatrixProperty ==
"symmetric" )
69 else if( MatrixProperty ==
"general" )
81 if( ParameterList.isParameter(
"ScaleMethod") )
85 if( ParameterList.isParameter(
"Reindex") )
86 Reindex_ = ParameterList.get<
bool>(
"Reindex");
double rcond_threshold_
If error is greater than this value, perform symbolic and numeric factorization with full partial piv...
bool AddZeroToDiag_
Adds zero to diagonal of redistributed matrix (some solvers choke on a matrix with a partly empty dia...
int MatrixProperty_
Set the matrix property.
void SetControlParameters(const Teuchos::ParameterList &ParameterList)
bool Reindex_
If true, the Amesos class should reindex the matrix to standard indexing (i.e.
double AddToDiag_
Add this value to the diagonal.