35 #if defined(HAVE_CUDA)
41 #if defined(HAVE_CUDA)
55 #
if defined(HAVE_CUDA)
57 for (n = 0; n < nb; n++) {
58 if (!strcmp(boundary[n].bctype,
_SPONGE_)) {
59 fprintf(stderr,
"ERROR: Sponge BC not yet implemented on GPU.\n");
64 for (n = 0; n < nb; n++) {
65 if (!strcmp(boundary[n].bctype,
_SPONGE_)) {
76 #if defined(HAVE_CUDA)
#define _ArraySetValue_(x, size, value)
int BCSpongeSource(void *, int, int, int, int *, double *, double *, double *)
Containts the structures and definitions for boundary condition implementation.
MPI related function definitions.
void gpuArraySetValue(double *, int, double)
Structure containing the variables and function pointers defining a boundary.
Contains function definitions for common array operations on GPU.
int(* SFunction)(double *, double *, void *, void *, double)
Contains structure definition for hypar.
Some basic definitions and macros.
int SourceFunction(double *source, double *u, void *s, void *m, double t)
Contains macros and function definitions for common array operations.
Structure of MPI-related variables.
Structure containing all solver-specific variables and functions.