Skip to content
New issue

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

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

Already on GitHub? # to your account

Draft: update periodic #1361

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from
Draft

Draft: update periodic #1361

wants to merge 5 commits into from

Conversation

rcknaus
Copy link
Contributor

@rcknaus rcknaus commented Feb 27, 2025

Currently diffs and needs some correctness testing. But the idea is to glue the parallel_op and periodic_op together, as a periodic replicated node has almost always the same behavior as a shared node -- when you want a parallel sum, you also want a periodic sum.

@rcknaus rcknaus marked this pull request as draft February 27, 2025 18:44
@@ -147,7 +147,8 @@ TiogaSTKIface::register_mesh()

auto* nodeVol =
meta_.get_field(stk::topology::NODE_RANK, "tioga_nodal_volume");
stk::mesh::parallel_max(bulk_, {nodeVol});
comm::scatter_max(realm_.bulk_data(), {nodeVol});
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to make this change to get it to compile

Suggested change
comm::scatter_max(realm_.bulk_data(), {nodeVol});
sierra::nalu::comm::scatter_max(bulk_, {nodeVol});

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants