-
- Downloads
[solvers] verbose output destinguishes between int type for iteration and value type
this feature is necessary to keep readable output if we use funny value types, like Vc::double_v
Loading
Please register or sign in to comment
this feature is necessary to keep readable output if we use funny value types, like Vc::double_v
Is this tested? I would have assumed that this breaks the output of BiCGStab where iter is 0, 0.5, 1, ...
Yes it is tested and does what you expect. The main thing is that we don't impose any particular type anymore. Actually casting to real_type was the wrong thing anyway. For BiCGStab we currently use a double to count the iterations. Now this double is also used for the output.
In this case naming the template parameter Int
is not very descriptive and causes confusion.
I renamed the template paramater to CountType, which is imho less confusing.