Skip to content

Commit

Permalink
Fixed region passed to VTK writer
Browse files Browse the repository at this point in the history
  • Loading branch information
kubagalecki committed Nov 7, 2023
1 parent 79d83fa commit 74c48e3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Handlers/cbVTK.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ int cbVTK::DoIt () {
Callback::DoIt();
const auto filename = solver->outIterFile(nm, ".vti");
auto& lattice = *solver->getCartLattice();
return vtkWriteLattice(filename.c_str(), lattice, solver->units, s, lattice.getLocalRegion());
return vtkWriteLattice(filename.c_str(), lattice, solver->units, s, lattice.connectivity.global_region);
};


Expand Down

0 comments on commit 74c48e3

Please sign in to comment.