Error analysis and compensation of line contact spherical grinding with cup-shaped wheel