petsc-3.14.6 2021-03-30
Report Typos and Errors

TSAdaptCandidatesGet

Get the list of candidate orders of accuracy and cost

Synopsis

#include "petscts.h" 
PetscErrorCode TSAdaptCandidatesGet(TSAdapt adapt,PetscInt *n,const PetscInt **order,const PetscInt **stageorder,const PetscReal **ccfl,const PetscReal **cost)
Not Collective

Input Arguments

adapt - time step adaptivity context

Output Arguments

n - number of candidate schemes, always at least 1
order - the order of each candidate scheme
stageorder - the stage order of each candidate scheme
ccfl - the CFL coefficient of each scheme
cost - the relative cost of each scheme

Note

The current scheme is always returned in the first slot

See Also

TSAdaptCandidatesClear(), TSAdaptCandidateAdd(), TSAdaptChoose()

Level

developer

Location

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