const AdditionalData ¶meters_in)
{
Assert(parameters_in.preconditioner == nullptr, ExcInternalError());
+ Assert(
+ parameters_in.relaxation != 0.0,
+ ExcMessage(
+ "Relaxation cannot automatically be determined by PreconditionJacobi."));
AdditionalData parameters;
parameters.relaxation = 1.0;
const AdditionalData ¶meters_in)
{
Assert(parameters_in.preconditioner == nullptr, ExcInternalError());
+ Assert(
+ parameters_in.relaxation != 0.0,
+ ExcMessage(
+ "Relaxation cannot automatically be determined by PreconditionSOR."));
AdditionalData parameters;
parameters.relaxation = 1.0;
const AdditionalData ¶meters_in)
{
Assert(parameters_in.preconditioner == nullptr, ExcInternalError());
+ Assert(
+ parameters_in.relaxation != 0.0,
+ ExcMessage(
+ "Relaxation cannot automatically be determined by PreconditionSSOR."));
AdditionalData parameters;
parameters.relaxation = 1.0;
const typename BaseClass::AdditionalData ¶meters_in)
{
Assert(parameters_in.preconditioner == nullptr, ExcInternalError());
+ Assert(
+ parameters_in.relaxation != 0.0,
+ ExcMessage(
+ "Relaxation cannot automatically be determined by PreconditionPSOR."));
typename BaseClass::AdditionalData parameters;
parameters.relaxation = 1.0;