34 #if defined(HAVE_CUDA)
47 if (nsims == 0)
return 0;
49 if (!sim[0].mpi.rank) {
50 printf(
"Deallocating arrays.\n");
53 for (ns = 0; ns < nsims; ns++) {
55 if (sim[ns].is_barebones == 1) {
56 fprintf(stderr,
"Error in Cleanup(): object is barebones type.\n");
67 #if defined(HAVE_CUDA)
100 #if defined(HAVE_CUDA)
143 #if defined(HAVE_CUDA)
168 if (solver->
u0) free(solver->
u0);
169 if (solver->
uref) free(solver->
uref);
171 if (solver->
rhs) free(solver->
rhs);
194 #if defined(HAVE_CUDA)
233 #if defined(HAVE_CUDA)
char spatial_scheme_hyp[_MAX_STRING_SIZE_]
int NavierStokes3DCleanup(void *)
Header file for TridiagLU.
3D Navier Stokes equations (compressible flows)
Definitions for the functions computing the interpolated value of the primitive at the cell interface...
int * stride_without_ghosts
int FPDoubleWellCleanup(void *)
Structures and function definitions for immersed boundaries.
double * StageBoundaryBuffer
int LinearADRCleanup(void *)
#define _FIFTH_ORDER_COMPACT_UPWIND_
int FPPowerSystem1BusCleanup(void *)
Containts the structures and definitions for boundary condition implementation.
char model[_MAX_STRING_SIZE_]
#define _LINEAR_ADVECTION_DIFFUSION_REACTION_
MPI related function definitions.
int Euler2DCleanup(void *)
int WENOCleanup(void *, int)
#define _FIFTH_ORDER_HCWENO_
int VlasovCleanup(void *)
Linear Advection-Diffusion-Reaction model.
#define _FP_POWER_SYSTEM_1BUS_
#define _NAVIER_STOKES_3D_
2D Navier Stokes equations (compressible flows)
Data structure and some function declarations for banded block matrices.
double * StepBoundaryIntegral
int Euler1DCleanup(void *)
int BCCleanup(void *, int)
#define _FP_POWER_SYSTEM_3BUS_
#define _FIFTH_ORDER_WENO_
Structure containing the variables and function pointers defining a boundary.
char time_scheme[_MAX_STRING_SIZE_]
double * TotalBoundaryIntegral
2D Shallow Water Equations
int ShallowWater2DCleanup(void *)
Contains function definitions for common array operations on GPU.
int gpuNavierStokes3DCleanup(void *)
#define _FP_POWER_SYSTEM_
int Numa2DCleanup(void *)
int MPIFreeCommunicators(int, void *)
int CompactSchemeCleanup(void *)
double * StageBoundaryIntegral
Contains function declarations for time integration.
int TimeExplicitRKCleanup(void *)
int Numa3DCleanup(void *)
1D Shallow Water Equations
int TimeGLMGEECleanup(void *)
#define _SHALLOW_WATER_2D_
double * VolumeIntegralInitial
Structure defining a simulation.
Some basic definitions and macros.
double * ConservationError
#define _FIFTH_ORDER_CRWENO_
1D Euler Equations (inviscid, compressible flows)
int ShallowWater1DCleanup(void *)
int NavierStokes2DCleanup(void *)
Structure of MPI-related variables.
Structure containing all solver-specific variables and functions.
Fokker-Planck Model for 1-Bus Power System.
#define _NAVIER_STOKES_2D_
int FPPowerSystem3BusCleanup(void *)
int FPPowerSystemCleanup(void *)
#define _SHALLOW_WATER_1D_