16 #define __FUNCT__ "PetscRHSFunctionExpl"
44 int nsims = context->
nsims;
48 for (
int ns = 0; ns < nsims; ns++) {
56 double* u = solver->
u;
57 double* rhs = solver->
rhs;
86 PetscFunctionReturn(0);
int npoints_local_wghosts
#define _ArraySetValue_(x, size, value)
int TransferVecFromPETSc(double *const, const Vec, void *, const int, const int)
int(* Upwind)(double *, double *, double *, double *, 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)
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.
Some basic definitions and macros.
PetscErrorCode PetscRHSFunctionExpl(TS, PetscReal, Vec, Vec, void *)
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.