Skip to content

[bugfix] Complex values in preconditioners

Summary

tested preconditioners with complex and fixed configuration parameter extraction with correct type.

Details

The relaxation parameter in the preconditioners is of type Simd::Scalar<field_type> and one can not assign a complex<double> to that type. So, the parametertree get() function must be parametrized with the scalar type instead.

A test for the explicit template instantiation of all preconditioners is added to catch this error.

Merge request reports

Loading