* so-called additive Schwarz
* preconditioner.
*/
- AdditionalData (const double ic_fill = 0.,
+ AdditionalData (const unsigned int ic_fill = 0,
const double ic_atol = 0.,
const double ic_rtol = 1.,
const unsigned int overlap = 0);
/**
* IC parameters and overlap.
*/
- double ic_fill, ic_atol, ic_rtol;
+ unsigned int ic_fill;
+ double ic_atol, ic_rtol;
unsigned int overlap;
};
* so-called additive Schwarz
* preconditioner.
*/
- AdditionalData (const double ilu_fill = 0.,
+ AdditionalData (const unsigned int ilu_fill = 0,
const double ilu_atol = 0.,
const double ilu_rtol = 1.,
const unsigned int overlap = 0);
/**
* ILU parameters and overlap.
*/
- double ilu_drop, ilu_fill, ilu_atol, ilu_rtol;
+ unsigned int ilu_fill;
+ double ilu_atol, ilu_rtol;
unsigned int overlap;
};
PreconditionIC::AdditionalData::
- AdditionalData (const double ic_fill,
+ AdditionalData (const unsigned int ic_fill,
const double ic_atol,
const double ic_rtol,
const unsigned int overlap)
int ierr;
Teuchos::ParameterList parameter_list;
- parameter_list.set ("fact: level-of-fill",additional_data.ic_fill);
+ parameter_list.set ("fact: level-of-fill",(int)additional_data.ic_fill);
parameter_list.set ("fact: absolute threshold",additional_data.ic_atol);
parameter_list.set ("fact: relative threshold",additional_data.ic_rtol);
parameter_list.set ("schwarz: combine mode", "Add");
PreconditionILU::AdditionalData::
- AdditionalData (const double ilu_fill,
+ AdditionalData (const unsigned int ilu_fill,
const double ilu_atol,
const double ilu_rtol,
const unsigned int overlap)
int ierr;
Teuchos::ParameterList parameter_list;
- parameter_list.set ("fact: level-of-fill",additional_data.ilu_fill);
+ parameter_list.set ("fact: level-of-fill",(int)additional_data.ilu_fill);
parameter_list.set ("fact: absolute threshold",additional_data.ilu_atol);
parameter_list.set ("fact: relative threshold",additional_data.ilu_rtol);
parameter_list.set ("schwarz: combine mode", "Add");