Skip to content

Commit

Permalink
Merge pull request #2077 from gforney/master
Browse files Browse the repository at this point in the history
smokeview source: fix cell centered boundary file display on external…
  • Loading branch information
gforney authored Oct 23, 2024
2 parents c254921 + 5f85646 commit 7fa5a8c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
12 changes: 12 additions & 0 deletions Source/smokeview/IOboundary.c
Original file line number Diff line number Diff line change
Expand Up @@ -1770,7 +1770,11 @@ FILE_SIZE ReadBoundaryBndf(int ifile, int load_flag, int *errorcode){

ext_wall=0;
mesh_boundary = NO;
#ifdef pp_PATCH_FULL
if(j1==0&&j2==jbartemp&&k1==0&&k2==kbartemp){
#else
{
#endif
int doit;

doit = 0;
Expand Down Expand Up @@ -1890,7 +1894,11 @@ FILE_SIZE ReadBoundaryBndf(int ifile, int load_flag, int *errorcode){

ext_wall=0;
mesh_boundary = NO;
#ifdef pp_PATCH_FULL
if(i1==0&&i2==ibartemp&&k1==0&&k2==kbartemp){
#else
{
#endif
int doit;

doit = 0;
Expand Down Expand Up @@ -2008,7 +2016,11 @@ FILE_SIZE ReadBoundaryBndf(int ifile, int load_flag, int *errorcode){

ext_wall=0;
mesh_boundary = NO;
#ifdef pp_PATCH_FULL
if(i1==0&&i2==ibartemp&&j1==0&&j2==jbartemp){
#else
{
#endif
int doit;

doit = 0;
Expand Down
1 change: 1 addition & 0 deletions Source/smokeview/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
#endif
//#define pp_FDS // create a 1 mesh input file
//#define pp_GEOM_EXP // experimental geometry settings (smooth normals, lighting)
//#define pp_PATCH_FULL // only patches covering an entire mesh side are considered external (original behavior)

#ifdef pp_FRAME // turn on each frame type if pp_FRAME is set
#define pp_BOUNDFRAME // turn on frame code for boundary files
Expand Down

0 comments on commit 7fa5a8c

Please sign in to comment.