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

[Breaking] Linear Solver Updates #1174

Open
wants to merge 72 commits into
base: develop
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
72 commits
Select commit Hold shift + click to select a range
a1869ad
Initial crack at CG
lroberts36 Sep 5, 2024
fe6a903
Messing around with CG, not working well
lroberts36 Sep 12, 2024
507cbd3
Add CG option to poisson
lroberts36 Sep 12, 2024
38543b0
explicitly set beta = 0 on first iter
lroberts36 Sep 18, 2024
162a0a6
Messing around with different prolongation operators
lroberts36 Sep 24, 2024
216f370
Fix bugs
lroberts36 Sep 24, 2024
83226a3
Merge branch 'develop' into lroberts36/add-cg-solver
lroberts36 Sep 24, 2024
3c81e68
format and lint
lroberts36 Sep 24, 2024
a1bd975
allow for index flattening
lroberts36 Sep 24, 2024
627efe7
Add diagonal preconditioning
lroberts36 Sep 24, 2024
8140938
Include boundary info in sparse pack
lroberts36 Sep 24, 2024
879dcb5
small
lroberts36 Sep 24, 2024
63e58e0
Only smooth on active blocks
lroberts36 Sep 24, 2024
caa959a
Allow switching boundary prolongation method
lroberts36 Sep 24, 2024
0da700f
explicitly impose boundary conditions on fluxes
lroberts36 Sep 24, 2024
f8413a4
small
lroberts36 Sep 24, 2024
843a264
make defaults consistent with older versions
lroberts36 Sep 25, 2024
fbc07fe
Merge branch 'develop' into lroberts36/add-cg-solver
lroberts36 Sep 25, 2024
297d9cc
More freedom in setting prolongation
lroberts36 Sep 25, 2024
4fd9883
More selectability
lroberts36 Sep 25, 2024
bca3a1b
remove MG prolongation operations since they are now user defined
lroberts36 Sep 25, 2024
d554036
format
lroberts36 Sep 25, 2024
1632222
update script
lroberts36 Sep 25, 2024
23aeba3
fix strange compiler error
lroberts36 Sep 26, 2024
cdaee59
changelog
lroberts36 Sep 26, 2024
bd0e875
Merge branch 'develop' into lroberts36/add-cg-solver
lroberts36 Sep 26, 2024
e477e2a
small
lroberts36 Sep 26, 2024
9365bb2
shits compiling
lroberts36 Oct 2, 2024
6fb993b
use solver base class
lroberts36 Oct 2, 2024
4906142
Apparently working stage based setup
lroberts36 Oct 2, 2024
62414a0
switch to type lists
lroberts36 Oct 2, 2024
73ad5bc
start, no where near compiling
lroberts36 Oct 2, 2024
6ebb671
seemingly working staged MG
lroberts36 Oct 3, 2024
dee8241
start on bicg stages, not compiling
lroberts36 Oct 3, 2024
3f9712f
seemingly working staged bicgstab solver
lroberts36 Oct 3, 2024
aa7fe69
format and lint
lroberts36 Oct 3, 2024
548dc7f
Allow user defined prolongation in stage based solvers
lroberts36 Oct 3, 2024
c090262
small
lroberts36 Oct 3, 2024
8dd7962
make base class separate file
lroberts36 Oct 3, 2024
dcd7bef
format
lroberts36 Oct 3, 2024
c678449
moving toward separate def of interior prolongation operators
lroberts36 Oct 8, 2024
75ef64c
refactor user definable block interior prolongation
lroberts36 Oct 8, 2024
6b10143
Remove some more stuff
lroberts36 Oct 8, 2024
96ae149
format
lroberts36 Oct 8, 2024
01917a2
possibly fix non-gcc compilation errors
lroberts36 Oct 8, 2024
c176abb
update docs
lroberts36 Oct 8, 2024
9c7276d
Merge branch 'develop' into lroberts36/add-cg-solver
lroberts36 Oct 8, 2024
a31f34f
small change to doc
lroberts36 Oct 9, 2024
9b0a9ac
Only include solver fields in md_u
lroberts36 Oct 10, 2024
93e08b1
explicitly only include the solution fields
lroberts36 Oct 10, 2024
068abc5
Merge branch 'lroberts36/add-more-careful-container-checking' into lr…
lroberts36 Oct 10, 2024
5f455c9
Merge branch 'lroberts36/add-more-careful-container-checking' into lr…
lroberts36 Oct 10, 2024
6fb49a4
format
lroberts36 Oct 10, 2024
c9619c0
Merge branch 'develop' into lroberts36/add-cg-solver
lroberts36 Oct 29, 2024
456be28
Merge branch 'develop' into lroberts36/add-cg-solver
lroberts36 Nov 19, 2024
5b737e9
add unique ids to staged solvers
lroberts36 Nov 20, 2024
83151d2
small
lroberts36 Nov 20, 2024
5f866e7
clean up macros
lroberts36 Nov 21, 2024
bb49af8
add staged GMG for testing
lroberts36 Nov 21, 2024
d00c887
remove type based solvers
lroberts36 Nov 21, 2024
c882ab2
remove more stuff
lroberts36 Nov 21, 2024
ca1f1f5
remove last thing
lroberts36 Nov 21, 2024
37500d2
closer to resolving all stages
lroberts36 Nov 21, 2024
4789e0e
finish cleanup
lroberts36 Nov 21, 2024
6d1a882
possibly fix compilation
lroberts36 Nov 21, 2024
2478da4
put same MeshData utilities in their own namespace
lroberts36 Nov 25, 2024
4cfc2cc
Merge branch 'develop' into lroberts36/add-cg-solver
lroberts36 Nov 25, 2024
d4a5a26
fix changelog
lroberts36 Nov 25, 2024
0d49d78
Update src/solvers/cg_solver.hpp
lroberts36 Nov 27, 2024
95ed5b2
act on Jonah comments
lroberts36 Nov 27, 2024
d71062e
format
lroberts36 Nov 27, 2024
b5b68c2
Merge branch 'develop' into lroberts36/add-cg-solver
Yurlungur Dec 20, 2024
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
Prev Previous commit
Next Next commit
fix strange compiler error
  • Loading branch information
lroberts36 committed Sep 26, 2024

Verified

This commit was signed with the committer’s verified signature.
Lehmann-Fabian Fabian Lehmann
commit 23aeba30b86c3db34b1939e1faf867644d286bf7
4 changes: 3 additions & 1 deletion example/poisson_gmg/poisson_equation.hpp
Original file line number Diff line number Diff line change
@@ -262,7 +262,9 @@ class PoissonEquation {
pack.IsPhysicalBoundary(b, 0, 1, 0) && (jb.e == fj),
pack.IsPhysicalBoundary(b, -1, 0, 0) && (kb.s == fk),
pack.IsPhysicalBoundary(b, 1, 0, 0) && (kb.e == fk)};

// Use both pack and pack_coarse outside of the constexpr if
// statements to prevent compilation errors in some CUDA compilers
pack(b, n, fk, fj, fi) = pack_coarse(b, n, ck, cj, ci);
if constexpr (ProlongationType::Constant == prolongation_type) {
pack(b, n, fk, fj, fi) = pack_coarse(b, n, ck, cj, ci);
} else if constexpr (ProlongationType::Linear == prolongation_type) {
Loading