[petsc-users] DMTSMonitorSet
Barry Smith
bsmith at mcs.anl.gov
Tue Jan 6 13:11:05 CST 2015
> On Jan 6, 2015, at 9:13 AM, Lukasz Kaczmarczyk <Lukasz.Kaczmarczyk at glasgow.ac.uk> wrote:
>
> Hello,
>
> I've implementing DM for my data structure, i.e. unstructured 3d meshes with hierarchical and heterogenous approximation order (l2,h1,hdiv,hcurl spaces). I setting functions for DMKSP, DMSNES and DMKSP.
Hmm, why not use KSPSetComputeOperator(), SNESSetFunction/Jacobian(), TSSet... etc?
Barry
>
> I found one function which in some sense is missing in petsc for consistency, i.e. DMTSMonitorSet. I used to use monitor to calculate energies or dump data on hard drive on some steps. It could be that I misuse monitor as well.
>
> Could you advise me if in future you going to have such function. I will live empty space for that to not forget about it.
>
>
> Kind regards,
> Lukasz Kaczmarczyk
>
>
>
More information about the petsc-users
mailing list