• Mark Olesen's avatar
    BUG: unguarded use of globalIndex in vtk writers (fixes #1110) · e3e0e055
    Mark Olesen authored
    - the problem occurred when running the writers in a parallel solver
      or utility but requesting output on the master only.
    
      Adjusted the logic to avoid globalIndex for these cases.
      Previously the if (parallel_) checks were happening later, after the
      globalIndex had already been created.
    e3e0e055
foamVtkIndPatchWriter.H 6.79 KB