A class of iterative methods for finite element equations