The proposed strategy is implemented within the object oriented environment PZ for the development of scientific software. The following capabilities of the PZ environment were either used or added:
- Transfer of solution between meshes. A method for computing a transfer matrix between meshes is implemented based on the projection of the interpolation space of the coarse mesh onto the fine mesh;
- Development of a block diagonal preconditioner for the acceleration Krylov iterative methods; * Development of a solution class which implements the multigrid iteration process;
- A class which implements a one dimensional optimal hp refinement analysis based on the comparaison of all possible refinement patterns.
Several examples show the generality and aplicability of the strategy for different simulations.