[petsc-users] Manual implementation of time-stepping in PETSc-3.3
Chao Yang
chaoyang.cuboulder at gmail.com
Wed Jul 25 17:46:31 CDT 2012
Dear PETSc group,
In PETSc-3.3, DMMG has been completely replaced by using SNESSetDM() and pc_mg. And it is shown in the changelog that resolution-dependent data should be avoided in the user context.
However, for a time-dependent problem, if a fully implicit time-stepping is implemented by hand, then some solutions at previous time steps for both fine and coarse meshes are needed in FormFunction.
If those previous solutions are not stored in the user context, where can I put/access them?
In PETSc-3.2, there is an example using DMMG with time-stepping:
src/snes/examples/tutorials/ex54.c
Is there a substitute for it in PETS-3.3?
Best wishes,
Chao
More information about the petsc-users
mailing list