petsc-master 2020-11-24
Report Typos and Errors

TSComputeInitialCondition

Compute an initial condition for the timestepping using the function previously set.

Synopsis

#include "petscts.h"  
PetscErrorCode TSComputeInitialCondition(TS ts, Vec u)
Collective on ts

Input Arguments

ts - time stepping context
u - The Vec to store the condition in which will be used in TSSolve()

See Also

TSGetComputeInitialCondition(), TSSetComputeInitialCondition(), TSSolve()

Level

advanced

Location

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