From 821dde9b1c823e9798516ad1b22c9ddc88995321 Mon Sep 17 00:00:00 2001
From: Hamidreza Norouzi <hamid.r.norouzi@gmail.com>
Date: Thu, 4 Apr 2024 12:33:09 -0700
Subject: [PATCH] modifications for adding boundary condtions

---
 CMakeLists.txt                            | 2 +-
 solvers/sphereGranFlow/sphereGranFlow.cpp | 2 +-
 src/Particles/particles/particles.hpp     | 6 ++++++
 utilities/pFlowToVTK/pFlowToVTK.cpp       | 4 ++--
 4 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/CMakeLists.txt b/CMakeLists.txt
index 927c1ec2..b2452565 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -6,7 +6,7 @@ project(phasicFlow VERSION 1.0 )
 set(CMAKE_CXX_STANDARD 17 CACHE STRING "" FORCE)
 set(CMAKE_CXX_STANDARD_REQUIRED True)
 set(CMAKE_INSTALL_PREFIX ${phasicFlow_SOURCE_DIR} CACHE PATH "Install path of phasicFlow" FORCE)
-set(CMAKE_BUILD_TYPE Release CACHE STRING "build type" FORCE)
+set(CMAKE_BUILD_TYPE Relase CACHE STRING "build type" FORCE)
 set(BUILD_SHARED_LIBS ON CACHE BOOL "Build using shared libraries" FORCE)
 mark_as_advanced(FORCE var BUILD_SHARED_LIBS)
 
diff --git a/solvers/sphereGranFlow/sphereGranFlow.cpp b/solvers/sphereGranFlow/sphereGranFlow.cpp
index c36bc987..f68e829d 100755
--- a/solvers/sphereGranFlow/sphereGranFlow.cpp
+++ b/solvers/sphereGranFlow/sphereGranFlow.cpp
@@ -88,7 +88,7 @@ initialize_pFlowProcessors();
 			"particle insertion failed in sphereDFlow solver.\n";
 			return 1;
 		}*/
-		
+		 
 		// set force to zero
 		surfGeometry.beforeIteration();
 
diff --git a/src/Particles/particles/particles.hpp b/src/Particles/particles/particles.hpp
index 8ba1cfce..3ca77237 100644
--- a/src/Particles/particles/particles.hpp
+++ b/src/Particles/particles/particles.hpp
@@ -128,6 +128,12 @@ public:
 		return dynPointStruct_.thisDomain();
 	}
 
+	inline
+	const auto& extendedDomain()const
+	{
+		return dynPointStruct_.extendedDomain();
+	}
+
 	inline auto size()const{
 		return dynPointStruct_.size();
 	}
diff --git a/utilities/pFlowToVTK/pFlowToVTK.cpp b/utilities/pFlowToVTK/pFlowToVTK.cpp
index 44cc6ed8..6dfcae3c 100755
--- a/utilities/pFlowToVTK/pFlowToVTK.cpp
+++ b/utilities/pFlowToVTK/pFlowToVTK.cpp
@@ -42,7 +42,7 @@ int main(int argc, char** argv )
 		" date in time folders into vtk file format.");
 
 	wordVector times;
-		
+		 
 	bool noGoem = false;
 	cmds.add_flag(
 		"--no-geometry",
@@ -57,7 +57,7 @@ int main(int argc, char** argv )
 	cmds.addOption("-o,--out-folder",
 		outFolder,
 		"path to output folder of VTK",
-		"path");
+		"path"); 
 	
 	bool separateSurfaces = false;
 	cmds.add_flag(