HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Cleans up allocations specific to WENO-type methods. More...
#include <stdlib.h>
#include <arrayfunctions_gpu.h>
#include <interpolation.h>
#include <mpivars.h>
#include <hypar.h>
Go to the source code of this file.
Functions | |
int | WENOCleanup (void *s, int flag_gpu) |
Cleans up allocations specific to WENO-type methods.
Definition in file WENOCleanup.c.
int WENOCleanup | ( | void * | s, |
int | flag_gpu | ||
) |
Cleans up all allocations related to the WENO-type methods.
s | WENO object of type WENOParameters |
flag_gpu | flag to indicate if on GPU |
Definition at line 17 of file WENOCleanup.c.