<div>Hello</div><div>To make a refinement on the solution in TS, what is a good procedure to implement?</div><div>I firstly, find the refined solution and built  the refined DM and trying to reset the TS using new DM and new solution vector. However, I found it is not a correct way and working. Could you please help me on this? Thanks very much for your time answering me.</div><br><ol><li><div>TSReset(ts);</div></li><li><div>VecDestroy(&X);</div></li><li><div>TSSetDM(ts,dm_refine);</div></li><li><div>TSSetSolution(ts,user->X);</div></li></ol><img class="mailspring-open" alt="Open Tracking" width="0" height="0" style="border:0; width:0; height:0;" src="https://link.getmailspring.com/open/1530723325.local-d484d539-6a1a-v1.2.2-96fb3a99@getmailspring.com?recipient=cGV0c2MtdXNlcnNAbWNzLmFubC5nb3Y%3D">