Adaptive feature capture method for solving partial differential equations with near singular solutions | Synapse