Please send your code that does this so we can debug. We have never done 
this before so there may be issues in TSReset()

   Barry


> On Jul 4, 2018, at 12:02 PM, Amir <[email protected]> wrote:
> 
> Hello
> To make a refinement on the solution in TS, what is a good procedure to 
> implement?
> 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.
> 
>       • TSReset(ts);
>       • VecDestroy(&X);
>       • TSSetDM(ts,dm_refine);
>       • TSSetSolution(ts,user->X);
> 

Reply via email to