[petsc-users] Recommended workflow for continuing a TSSolve after making a change to mesh topology
Ross Williams
Ross.Williams at glasgow.ac.uk
Wed Oct 22 07:54:08 CDT 2025
Hello,
I am asking for guidance and/or clarification on how one should best handle changes to the mesh topology within TSSetPreStep of a TSSolve.
Out current methodology after making the change is:
1.
TSReset(ts);
2.
DMSetUp(dm);
3.
TSSetSolution(ts, sol);
4.
TSSetDM(ts, dm);
5.
TSSetUp(ts);
I have not found any relevant examples in the documentation so if there is one or an example in another code base, please feel free to direct me towards it.
Kind regards,
Ross.
________________________________
Ross Williams PhD
Research Associate
Glasgow Computational Engineering Centre (GCEC)
E: ross.williams at glasgow.ac.uk
W: https://urldefense.us/v3/__https://www.gla.ac.uk/schools/engineering/staff/rosswilliams/__;!!G_uCfscf7eWS!dIt7_WjFSNIz80F0_FJan8iSDDhDRHEYaqhuBa0vDHLsWHctjh82s3y-z2TLy8E7XoIghMWJ4RMxZDJzoSn2XhKxkoKYazsSh50$
Pearce Lodge,
James Watt School of Engineering,
University of Glasgow,
G12 8QQ,
Glasgow,
United Kingdom.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/petsc-users/attachments/20251022/b530ad7d/attachment.html>
More information about the petsc-users
mailing list