16 #define __FUNCT__ "PetscIFunctionImpl"
46 int nsims = context->
nsims;
49 for (
int ns = 0; ns < nsims; ns++) {
57 double* u = solver->
u;
58 double* rhs = solver->
rhs;
93 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)
#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.
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)
PetscErrorCode PetscIFunctionImpl(TS, PetscReal, Vec, Vec, Vec, void *)
C++ declarations for MPI-related functions.
Structure containing all solver-specific variables and functions.