-
Notifications
You must be signed in to change notification settings - Fork 177
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'firemodels/master'
- Loading branch information
Showing
20 changed files
with
348 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
#include "options.h" | ||
#include <assert.h> | ||
#include <math.h> | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
|
||
#include "MALLOCC.h" | ||
#include "contourdefs.h" | ||
#include "histogram.h" | ||
#include "isodefs.h" | ||
#include "readsmoke.h" | ||
#include "smokeviewdefs.h" | ||
#include "string_util.h" | ||
#include "structures.h" | ||
|
||
/* ------------------ FreeSmoke3d ------------------------ */ | ||
|
||
void FreeSmoke3D(smoke3ddata *smoke3di) { | ||
smoke3di->lastiframe = -999; | ||
#ifdef pp_SMOKEFRAME | ||
FRAMEFree(smoke3di->frameinfo); | ||
smoke3di->frameinfo = NULL; | ||
#endif | ||
FREEMEMORY(smoke3di->smokeframe_in); | ||
FREEMEMORY(smoke3di->smokeframe_out); | ||
FREEMEMORY(smoke3di->timeslist); | ||
FREEMEMORY(smoke3di->times); | ||
FREEMEMORY(smoke3di->times_map); | ||
FREEMEMORY(smoke3di->use_smokeframe); | ||
FREEMEMORY(smoke3di->nchars_compressed_smoke_full); | ||
FREEMEMORY(smoke3di->nchars_compressed_smoke); | ||
FREEMEMORY(smoke3di->frame_all_zeros); | ||
FREEMEMORY(smoke3di->smoke_boxmin); | ||
FREEMEMORY(smoke3di->smoke_boxmax); | ||
#ifndef pp_SMOKEFRAME | ||
FREEMEMORY(smoke3di->smoke_comp_all); | ||
#endif | ||
FREEMEMORY(smoke3di->smokeframe_comp_list); | ||
FREEMEMORY(smoke3di->smokeview_tmp); | ||
FREEMEMORY(smoke3di->smokeframe_loaded); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
#ifndef READSMOKE_H_DEFINED | ||
#define READSMOKE_H_DEFINED | ||
#include "options.h" | ||
#include <assert.h> | ||
#include <math.h> | ||
#include <stdio.h> | ||
#include <stdlib.h> | ||
#include <string.h> | ||
|
||
#include "MALLOCC.h" | ||
#include "contourdefs.h" | ||
#include "histogram.h" | ||
#include "isodefs.h" | ||
#include "shared_structures.h" | ||
#include "smokeviewdefs.h" | ||
#include "string_util.h" | ||
|
||
#include "readobject.h" | ||
|
||
void FreeSmoke3D(smoke3ddata *smoke3di); | ||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.