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