-
Notifications
You must be signed in to change notification settings - Fork 90
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
Small refactor to remove inverted dependencies in Albany #579
Comments
This sounds good to me. |
Yes, it would be nice to have the Package (even if now it's only one) separated from the core files.. if it doesn't take long. |
I'm ok with these changes. |
Contributes to remove dependence of main albany on packages (see #579).
I'm also OK with this - sounds like the right way to go. |
Can we make STK a required dependency of Albany? Now that SCOREC is out of the picture, STK meshes are the only option... |
I vote yes. |
Seems okay to me. It shouldn't be too hard to make it optional again if we decide to introduce some other discretization down the line. Or were you thinking of getting rid of the entire discretization abstraction? |
No, I'll leave the abstraction, with the factory and everything. But since we only have STK, it seemed silly to make it 'optional'. |
Contributes to remove dependence of main albany on packages (see #579).
@gahansen I ended up pruning the stk_adapt stuff, but kept the stk rebalance stuff. I believe we are using it together with zoltan when we need to redistribute the mesh, which, I think happens for instance when we load a stk mesh serially, and distribute it among ranks on the fly. In #37 Dan said the rebalance stuff is supported directly in SEACAS. I think for now we can keep the snapshot of the old stk_rebalance in Albany (which I think works, at least for the serial mesh thingy). When time permits, we should see if we can directly use SEACAS, and purge the percept directory completely. |
To be clear, I think this is not a priority for now. We should probably focus on the block discretization stuff first. |
Contributes to remove dependence of main albany on packages (see #579).
I thought about the issue of circular dependencies in Albany. The main issue is with the various factories (or factory-like) classes in Albany, which require knowledge about the subpackages.
After thinking about it, I think we should do something like this:
@mperego @gahansen @ikalash @jewatkins I'm planning to do something on this side, if you're ok with it. Should be pretty quick.
The text was updated successfully, but these errors were encountered: