Skip to content

Commit

Permalink
Merge pull request #2064 from gforney/patch
Browse files Browse the repository at this point in the history
smokeview source: fix to boundary file mesh interface drawing routine…
  • Loading branch information
gforney authored Oct 10, 2024
2 parents 628df2c + 965f753 commit 7e2ac2c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions Source/smokeview/IOboundary.c
Original file line number Diff line number Diff line change
Expand Up @@ -4254,6 +4254,11 @@ void DrawBoundaryMeshInterface(meshdata *meshi, int mode){

bc = patch_mesh->blockageinfoptrs[ib];
if(bc->showtimelist != NULL && bc->showtimelist[itimes] == 0)continue;
#ifdef pp_PATCH_FACTOR
int *ijk;
ijk = bc->ijk;
if(ijk[0] == ijk[1] || ijk[2] == ijk[3] || ijk[4] == ijk[5])continue;
#endif
if(pfi->ib[0] == pfi->ib[1]){
icol_start = bc->ijk[2];
icol_end = bc->ijk[3];
Expand Down
2 changes: 1 addition & 1 deletion Source/smokeview/options.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
#endif
//#define pp_FDS // create a 1 mesh input file
//#define pp_PATCH_DEBUG // add boundary file debugging widgets
//#define pp_PATCH_FACTOR // set boundary file patch offsets to zero
#define pp_PATCH_FACTOR // set boundary file patch offsets to zero

#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 7e2ac2c

Please sign in to comment.