Skip to content

Commit

Permalink
Changing tagged vector types back to GHOSTED
Browse files Browse the repository at this point in the history
- using PARALLEL vector type breaks a few tests in the optimization and solid mechanics modules
  • Loading branch information
gsgall committed Nov 18, 2024
1 parent 4845966 commit ce6c221
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/src/problems/FEProblemBase.C
Original file line number Diff line number Diff line change
Expand Up @@ -618,15 +618,15 @@ FEProblemBase::createTagVectors()
for (auto & vector : vectors[nl_sys_num])
{
auto tag = addVectorTag(vector);
_nl[nl_sys_num]->addVector(tag, false, PARALLEL);
_nl[nl_sys_num]->addVector(tag, false, GHOSTED);
}

auto & not_zeroed_vectors = getParam<std::vector<std::vector<TagName>>>("not_zeroed_tag_vectors");
for (const auto nl_sys_num : index_range(not_zeroed_vectors))
for (auto & vector : not_zeroed_vectors[nl_sys_num])
{
auto tag = addVectorTag(vector);
_nl[nl_sys_num]->addVector(tag, false, PARALLEL);
_nl[nl_sys_num]->addVector(tag, false, GHOSTED);
addNotZeroedVectorTag(tag);
}

Expand Down

0 comments on commit ce6c221

Please sign in to comment.