A Feature-Based Grid Adaptation Method with Gradient-Based Smoothing