TSAlpha2PredictorFn#
A callback to set the predictor (i.e., the initial guess for the nonlinear solver) in a second-order generalized-alpha time integrator.
Synopsis#
#include <petscts.h>
PETSC_EXTERN_TYPEDEF typedef PetscErrorCode(TSAlpha2PredictorFn)(TS ts, Vec X0, Vec V0, Vec A0, Vec X1, void *ctx);
Calling Sequence#
X0 - the previous time step’s state vector
V0 - the previous time step’s first derivative of the state vector
A0 - the previous time step’s second derivative of the state vector
X1 - the vector into which the initial guess for the current time step will be written
ctx - [optional] user-defined context for the predictor evaluation routine (may be
NULL
)
Note#
The deprecated TSAlpha2Predictor
still works as a replacement for TSAlpha2PredictorFn
*.
See Also#
TS: Scalable ODE and DAE Solvers, TS
, TSAlpha2SetPredictor()
Level#
intermediate
Location#
Index of all TS routines
Table of Contents for all manual pages
Index of all manual pages