OptimalDesignLab / PDESolver.jl

A Julia-based solver for partial-differential equations.
Other
13 stars 5 forks source link

More Elegant Support For Preconditioning Options #26

Closed JaredCrean2 closed 6 years ago

JaredCrean2 commented 8 years ago

We currently support a handful of preconditioning options by turning certain switches on or off at runtime, but I think we need something more comprehensive and fool-resistant system (no system can be fool-proof). Perhaps we should have two ParamType as part of the AbstractSolutionData type, one for preconditioning and one for a regular residual evaluation? This would reduce the runtime option to "choose which ParamType to use", and have all the options containing in the ParamType.

JaredCrean2 commented 6 years ago

We have the AbstractPC framework now, which should be able to accomplish parts of this. I don't think moving all the options into ParamType is a good idea because of how hard it will be to keep the list of options in the dictionary and in ParamType synchronized.