From f1e57a4b003bf57caff41ed9c2d3102cbd1a20b6 Mon Sep 17 00:00:00 2001
From: jstark <jstark@mpi-cbg.de>
Date: Tue, 11 Jan 2022 11:32:25 +0100
Subject: [PATCH] Removing grid/ghost initialization from InitGridWithPixel.

---
 src/RawReader/InitGridWithPixel.hpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/RawReader/InitGridWithPixel.hpp b/src/RawReader/InitGridWithPixel.hpp
index e5b4d64a..c4acf96c 100644
--- a/src/RawReader/InitGridWithPixel.hpp
+++ b/src/RawReader/InitGridWithPixel.hpp
@@ -113,9 +113,6 @@ void load_pixel_onto_grid(grid_type & grid, std::string file_name, std::vector <
 		}
 	}
 	
-	// initialize complete grid including ghost layer with -1
-	init_grid_and_ghost<Phi_0>(grid, -1.0);
-	
 	// assign pixel values to domain. For each pixel get factor_refinement number of grid points with corresponding value
 	auto dom = grid.getDomainIterator();
 	std::vector<BYTE> pixel_line; // one x-line of the image stack which will be read
-- 
GitLab