16 #define __FUNCT__ "PetscIFunctionIMEX"
62 int nsims = context->
nsims;
68 for (
int ns = 0; ns < nsims; ns++) {
76 double *u = solver->
u;
77 double *rhs = solver->
rhs;
139 VecAYPX(F,-1.0,Ydot);
141 PetscFunctionReturn(0);
int npoints_local_wghosts
#define _ArraySetValue_(x, size, value)
int(* dFFunction)(double *, double *, int, void *, double)
int TransferVecFromPETSc(double *const, const Vec, void *, const int, const int)
int(* Upwind)(double *, double *, double *, double *, double *, double *, int, void *, double)
int(* UpwinddF)(double *, double *, double *, double *, double *, double *, int, void *, double)
int(* UpwindFdF)(double *, double *, double *, double *, double *, double *, int, void *, double)
int(* FdFFunction)(double *, double *, int, void *, double)
int(* FFunction)(double *, double *, int, void *, double)
int(* ParabolicFunction)(double *, double *, void *, void *, double)
int(* SourceFunction)(double *, double *, void *, void *, double)
int TransferVecToPETSc(const double *const, Vec, void *, const int, const int)
#define _ArrayCopy1D_(x, y, size)
int(* HyperbolicFunction)(double *, double *, void *, void *, double, int, int(*)(double *, double *, int, void *, double), int(*)(double *, double *, double *, double *, double *, double *, int, void *, double))
Structure containing the variables for time-integration with PETSc.
Structure defining a simulation.
char SplitHyperbolicFlux[_MAX_STRING_SIZE_]
Some basic definitions and macros.
Contains macros and function definitions for common array operations.
int(* ApplyBoundaryConditions)(void *, void *, double *, double *, double)
int MPIExchangeBoundariesnD(int, int, int *, int, void *, double *)
Structure of MPI-related variables.
#define _ArrayAXPY_(x, a, y, size)
C++ declarations for MPI-related functions.
Structure containing all solver-specific variables and functions.
PetscErrorCode PetscIFunctionIMEX(TS, PetscReal, Vec, Vec, Vec, void *)