Skip to content

Use Field3DParallel if we need parallel fields - #3453

Open
dschwoerer wants to merge 2 commits into
nextfrom
more-f3dp
Open

Use Field3DParallel if we need parallel fields#3453
dschwoerer wants to merge 2 commits into
nextfrom
more-f3dp

Conversation

@dschwoerer

Copy link
Copy Markdown
Contributor

With #3430 this makes Div_par just work in many cases for FCI.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

Comment thread src/mesh/difops.cxx Outdated
Comment thread src/mesh/difops.cxx
}

Field3D Div_par(const Field3D& f, const Field3D& v) {
Field3D Div_par(const Field3DParallel& f, const Field3DParallel& v) {

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

warning: function 'Div_par' can be made static or moved into an anonymous namespace to enforce internal linkage [misc-use-internal-linkage]

Suggested change
Field3D Div_par(const Field3DParallel& f, const Field3DParallel& v) {
static Field3D Div_par(const Field3DParallel& f, const Field3DParallel& v) {

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

I fail to see why this function is hidden, but if it really is not exposed, we should probably delete it instead.

Comment thread src/mesh/difops.cxx Outdated

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

clang-tidy made some suggestions

Comment thread src/mesh/difops.cxx Outdated
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