Software development based on multigrid techniques