For a given (very large) system of equations, I would like to vary the preconditioner and solve method used. Since constructing the preconditioner is somewhat expensive, I would like to be able to reuse the PC and vary the KSP method, i.e., the outer loop should vary the PCType and the inner loop should vary the KSPType. Is it possible to reuse KSP contexts and PC's in this way? Ideally, I should only need to call KSPCreate once, outside both loops, extract the PC, and then call PCSetType in the outer loop and KSPSetType in the inner loop. How do I make sure that any ancillary data structures are properly destroyed/reallocated when I change types?
- Adding/subtracting vectors John R. Wicks
- Adding/subtracting vectors Barry Smith
- PCGetFactoredMatrix John R. Wicks
- PCGetFactoredMatrix Matthew Knepley
- PCGetFactoredMatrix John R. Wicks
- PCGetFactoredMatrix Barry Smith
- PCGetFactoredMatrix Hong Zhang
- PCGetFactoredMatrix John R. Wicks
- Norm computation John R. Wicks
- Norm computation Barry Smith
- Reusing PC's John R. Wicks
- Reusing PC's Matthew Knepley
- Reusing PC's Barry Smith
- Reusing PC's Lisandro Dalcin
- How can I use BICGStab on a matrix with zero entries on th... Barry Smith
- How can I use BICGStab on a matrix with zero entries ... Zhu Liang
- How can I use BICGStab on a matrix with zero entr... Barry Smith
- How can I use BICGStab on a matrix with zero ... Matthew Knepley
- How can I use BICGStab on a matrix with z... Barry Smith
- How can I use BICGStab on a matrix w... Matthew Knepley
