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 TransferVecToPETSc(const double *const, Vec, void *, const int, const int)
int(* ParabolicFunction)(double *, double *, void *, void *, double)
Structure defining a simulation.
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(* 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.
#define _ArrayAXPY_(x, a, y, size)
Structure containing the variables for time-integration with PETSc.
#define _ArraySetValue_(x, size, value)
Structure of MPI-related variables.
int npoints_local_wghosts
#define _ArrayCopy1D_(x, y, size)
Contains macros and function definitions for common array operations.
int TransferVecFromPETSc(double *const, const Vec, void *, const int, const int)
PetscErrorCode PetscIFunctionImpl(TS ts, PetscReal t, Vec Y, Vec Ydot, Vec F, void *ctxt)