petsc-3.7.1 2016-05-15
Report Typos and Errors

TSClone

This function clones a time step object.

Synopsis

#include "petscts.h"  
PetscErrorCode  TSClone(TS tsin, TS *tsout)
Collective on MPI_Comm Many br

Input Parameter

tsin -The input TS Many br

Output Parameter

tsout -The output TS (cloned) Many br

Notes

This function is used to create a clone of a TS object. It is used in ARKIMEX for initializing the slope for first stage explicit methods. It will likely be replaced in the future with a mechanism of switching methods on the fly. Many br

When using TSDestroy() on a clone the user has to first reset the correct TS reference in the embedded SNES object: e.g.: by running SNES snes_dup=NULL; TSGetSNES(ts,&snes_dup); ierr = TSSetSNES(ts,snes_dup); Many br

Many br

Keywords

TS, clone

See Also

TSCreate(), TSSetType(), TSSetUp(), TSDestroy(), TSSetProblemType()

Level:developer
Location:
src/ts/interface/ts.c
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages