Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

HyTeg adaptions to maxLevel #23

Merged
merged 7 commits into from
Apr 23, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Updated maxLevel for P1 configurations
  • Loading branch information
Lukas Abelt committed Feb 23, 2024
commit daf1804f6c3a133a754577a2c5865637c70e28a1
11 changes: 10 additions & 1 deletion HyTeg/p1_cg_sor.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
diff --git a/apps/profiling/ProfilingApp.cpp b/apps/profiling/ProfilingApp.cpp
index 540f9d6da..6997b4d4a 100644
index 540f9d6da..9fec101e0 100644
--- a/apps/profiling/ProfilingApp.cpp
+++ b/apps/profiling/ProfilingApp.cpp
@@ -137,7 +137,7 @@ int main( int argc, char* argv[] )
walberla::logging::Logging::instance()->setLogLevel( walberla::logging::Logging::PROGRESS );
walberla::MPIManager::instance()->useWorldComm();
const uint_t minLevel = 2;
- const uint_t maxLevel = 4;
+ const uint_t maxLevel = 8;
using P1op = hyteg::P1ConstantLaplaceOperator;
using P2op = hyteg::P2ConstantLaplaceOperator;

@@ -148,11 +148,8 @@ int main( int argc, char* argv[] )
// SORSmoother or SymmetricSORSmoother
// the symmetric variant alternates the direction of the smoothing for each iteration
11 changes: 10 additions & 1 deletion HyTeg/p1_cg_symmetric.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
diff --git a/apps/profiling/ProfilingApp.cpp b/apps/profiling/ProfilingApp.cpp
index 540f9d6da..bfaf76de9 100644
index 540f9d6da..a09934699 100644
--- a/apps/profiling/ProfilingApp.cpp
+++ b/apps/profiling/ProfilingApp.cpp
@@ -137,7 +137,7 @@ int main( int argc, char* argv[] )
walberla::logging::Logging::instance()->setLogLevel( walberla::logging::Logging::PROGRESS );
walberla::MPIManager::instance()->useWorldComm();
const uint_t minLevel = 2;
- const uint_t maxLevel = 4;
+ const uint_t maxLevel = 8;
using P1op = hyteg::P1ConstantLaplaceOperator;
using P2op = hyteg::P2ConstantLaplaceOperator;

@@ -148,11 +148,8 @@ int main( int argc, char* argv[] )
// SORSmoother or SymmetricSORSmoother
// the symmetric variant alternates the direction of the smoothing for each iteration
11 changes: 10 additions & 1 deletion HyTeg/p1_gmres_sor.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
diff --git a/apps/profiling/ProfilingApp.cpp b/apps/profiling/ProfilingApp.cpp
index 540f9d6da..edede6447 100644
index 540f9d6da..5e1bb0121 100644
--- a/apps/profiling/ProfilingApp.cpp
+++ b/apps/profiling/ProfilingApp.cpp
@@ -137,7 +137,7 @@ int main( int argc, char* argv[] )
walberla::logging::Logging::instance()->setLogLevel( walberla::logging::Logging::PROGRESS );
walberla::MPIManager::instance()->useWorldComm();
const uint_t minLevel = 2;
- const uint_t maxLevel = 4;
+ const uint_t maxLevel = 8;
using P1op = hyteg::P1ConstantLaplaceOperator;
using P2op = hyteg::P2ConstantLaplaceOperator;

@@ -148,11 +148,8 @@ int main( int argc, char* argv[] )
// SORSmoother or SymmetricSORSmoother
// the symmetric variant alternates the direction of the smoothing for each iteration
11 changes: 10 additions & 1 deletion HyTeg/p1_gmres_symmetric.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
diff --git a/apps/profiling/ProfilingApp.cpp b/apps/profiling/ProfilingApp.cpp
index 540f9d6da..fc3b1fdc3 100644
index 540f9d6da..66988e25b 100644
--- a/apps/profiling/ProfilingApp.cpp
+++ b/apps/profiling/ProfilingApp.cpp
@@ -137,7 +137,7 @@ int main( int argc, char* argv[] )
walberla::logging::Logging::instance()->setLogLevel( walberla::logging::Logging::PROGRESS );
walberla::MPIManager::instance()->useWorldComm();
const uint_t minLevel = 2;
- const uint_t maxLevel = 4;
+ const uint_t maxLevel = 8;
using P1op = hyteg::P1ConstantLaplaceOperator;
using P2op = hyteg::P2ConstantLaplaceOperator;

@@ -148,11 +148,8 @@ int main( int argc, char* argv[] )
// SORSmoother or SymmetricSORSmoother
// the symmetric variant alternates the direction of the smoothing for each iteration
11 changes: 10 additions & 1 deletion HyTeg/p1_minres_sor.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
diff --git a/apps/profiling/ProfilingApp.cpp b/apps/profiling/ProfilingApp.cpp
index 540f9d6da..8263da85a 100644
index 540f9d6da..48d99620e 100644
--- a/apps/profiling/ProfilingApp.cpp
+++ b/apps/profiling/ProfilingApp.cpp
@@ -137,7 +137,7 @@ int main( int argc, char* argv[] )
walberla::logging::Logging::instance()->setLogLevel( walberla::logging::Logging::PROGRESS );
walberla::MPIManager::instance()->useWorldComm();
const uint_t minLevel = 2;
- const uint_t maxLevel = 4;
+ const uint_t maxLevel = 8;
using P1op = hyteg::P1ConstantLaplaceOperator;
using P2op = hyteg::P2ConstantLaplaceOperator;

@@ -148,11 +148,8 @@ int main( int argc, char* argv[] )
// SORSmoother or SymmetricSORSmoother
// the symmetric variant alternates the direction of the smoothing for each iteration
21 changes: 10 additions & 11 deletions HyTeg/p1_minres_symmetric.patch
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
diff --git a/apps/profiling/ProfilingApp.cpp b/apps/profiling/ProfilingApp.cpp
index 540f9d6da..11edf6c49 100644
index 540f9d6da..dc65f5be2 100644
--- a/apps/profiling/ProfilingApp.cpp
+++ b/apps/profiling/ProfilingApp.cpp
@@ -137,7 +137,7 @@ int main( int argc, char* argv[] )
walberla::logging::Logging::instance()->setLogLevel( walberla::logging::Logging::PROGRESS );
walberla::MPIManager::instance()->useWorldComm();
const uint_t minLevel = 2;
- const uint_t maxLevel = 4;
+ const uint_t maxLevel = 8;
using P1op = hyteg::P1ConstantLaplaceOperator;
using P2op = hyteg::P2ConstantLaplaceOperator;

@@ -148,11 +148,8 @@ int main( int argc, char* argv[] )
// SORSmoother or SymmetricSORSmoother
// the symmetric variant alternates the direction of the smoothing for each iteration
@@ -15,13 +24,3 @@ index 540f9d6da..11edf6c49 100644
return 0;
}
\ No newline at end of file
diff --git a/src/hyteg/p1functionspace/P1Function.hpp b/src/hyteg/p1functionspace/P1Function.hpp
index 51935b981..397a44aa5 100644
--- a/src/hyteg/p1functionspace/P1Function.hpp
+++ b/src/hyteg/p1functionspace/P1Function.hpp
@@ -1,4 +1,4 @@
-/*
+/*t's hard to recommend brands now bc it seems like they'll vary by store or randomly go to shit as the brand cheaps out.
* Copyright (c) 2017-2019 Boerge Struempfel, Daniel Drzisga, Dominik Thoennes, Nils Kohl.
*
* This file is part of HyTeG