Skip to content

Consolidation of solve groups and vectors in blocks (part 1/X)#742

Merged
landinjm merged 14 commits intoprisms-center:masterfrom
landinjm:consolidate_solve_blocks
Dec 3, 2025
Merged

Consolidation of solve groups and vectors in blocks (part 1/X)#742
landinjm merged 14 commits intoprisms-center:masterfrom
landinjm:consolidate_solve_blocks

Conversation

@landinjm
Copy link
Copy Markdown
Contributor

@landinjm landinjm commented Dec 3, 2025

Overview

What I originally designed with SolutionHandler is becoming unwieldy to debug and frankly difficult to work with. We've talked about this offline before and this PR is a start to consolidating what we have.

At the end of everything, this PR chain should address #730, #729, #727, #725, #724, #710, #701, #680, #676, , #674, #632, #627, #612, #611, #504, #503, #502, #721, #484, #483, #434.

This PR

For this PR, all I aim to do is create the class and associated data structures that we be used in the block vectors and organization of our solution fields. This requires some rewriting/refactoring of VariableAttributes to extract a small enum that is useful for the vector blocks.

Additionally, this new class eliminates the need to have a bunch of confusing maps and access to SolutionHandler.

@landinjm landinjm requested a review from fractalsbyx December 3, 2025 01:18
@landinjm landinjm removed the request for review from fractalsbyx December 3, 2025 04:51
@landinjm landinjm marked this pull request as ready for review December 3, 2025 05:04
@landinjm landinjm merged commit 11ff95a into prisms-center:master Dec 3, 2025
4 of 11 checks passed
@landinjm landinjm deleted the consolidate_solve_blocks branch December 3, 2025 20:25
fractalsbyx pushed a commit to fractalsbyx/phaseField that referenced this pull request Dec 11, 2025
…s-center#742)

* basic enum and vector mapping class start

* updating the TensorRank enum throughout

* updating apps

* fixing some warnings

* shadowed variables name in matrix free operator

* more variable shadowing

* fix to unit test

* more shadowed var

* more shadows

* more shadows

* some more fixes for warnings

* typo

* disable wconversion

* adding cppcheck suppression comments
fractalsbyx pushed a commit to fractalsbyx/phaseField that referenced this pull request Dec 11, 2025
…s-center#742)

* basic enum and vector mapping class start

* updating the TensorRank enum throughout

* updating apps

* fixing some warnings

* shadowed variables name in matrix free operator

* more variable shadowing

* fix to unit test

* more shadowed var

* more shadows

* more shadows

* some more fixes for warnings

* typo

* disable wconversion

* adding cppcheck suppression comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant