HyPar
1.0
Finite-Difference Hyperbolic-Parabolic PDE Solver on Cartesian Grids
|
Clean up and free memory after simulation is complete. More...
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <basic.h>
#include <bandedmatrix.h>
#include <tridiagLU.h>
#include <boundaryconditions.h>
#include <immersedboundaries.h>
#include <timeintegration.h>
#include <interpolation.h>
#include <mpivars.h>
#include <simulation_object.h>
#include <physicalmodels/linearadr.h>
#include <physicalmodels/fpdoublewell.h>
#include <physicalmodels/fppowersystem.h>
#include <physicalmodels/fppowersystem1bus.h>
#include <physicalmodels/fppowersystem3bus.h>
#include <physicalmodels/euler1d.h>
#include <physicalmodels/euler2d.h>
#include <physicalmodels/navierstokes2d.h>
#include <physicalmodels/navierstokes3d.h>
#include <physicalmodels/numa2d.h>
#include <physicalmodels/numa3d.h>
#include <physicalmodels/shallowwater1d.h>
#include <physicalmodels/shallowwater2d.h>
#include <physicalmodels/vlasov.h>
#include <arrayfunctions_gpu.h>
Go to the source code of this file.
Functions | |
int | Cleanup (void *s, int nsims) |
Clean up and free memory after simulation is complete.
Definition in file Cleanup.c.
int Cleanup | ( | void * | s, |
int | nsims | ||
) |
Cleans up and frees the memory after the completion of the simulation.
s | Array of simulation objects of type SimulationObject |
nsims | number of simulation objects |
Definition at line 39 of file Cleanup.c.