DMGetDMTS

get read-only private DMTS context from a DM

Synopsis

#include "petscts.h" 
PetscErrorCode DMGetDMTS(DM dm,DMTS *tsdm)
Not Collective

Input Argument

dm - DM to be used with TS

Output Argument

tsdm - private DMTS context

Level: developer

Notes

Use DMGetDMTSWrite() if write access is needed. The DMTSSetXXX API should be used wherever possible.

See Also

DMGetDMTSWrite()

Location:dmts.c