Skip to content
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

Extend evaluate function for multiple distributed fields #91

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

carlodev
Copy link

I got an error when passing more than 2 Distributed field to a function, so I extended it manually

foo∘(u::DistributedCellField,G::DistributedCellField,GG::DistributedCellField)
foo∘(u::DistributedCellField,gg::DistributedCellField,G::DistributedCellField,GG::DistributedCellField)

I am using this in my own code here

@amartinhuertas
Copy link
Member

Hi @carlodev ! Thanks for the PR and your interest in GridapDistributed.jl. I think it should be possible to fix this such that we are able to have an arbitrary number of fields without the need to write an specialized version for each possible number. I will address this when I have some time.

@amartinhuertas amartinhuertas self-requested a review June 27, 2022 12:17
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.

2 participants