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

Using solveAdjointForRHS in parallel #215

Open
Arashmm opened this issue Apr 21, 2022 · 0 comments
Open

Using solveAdjointForRHS in parallel #215

Arashmm opened this issue Apr 21, 2022 · 0 comments

Comments

@Arashmm
Copy link

Arashmm commented Apr 21, 2022

Hello,

I wanted to use solveAdjointForRHS to solve the Adjoint of Euler for my specific objective function, which is not defined in ADFlow. I calculated the RHS vector from external codes, then I imported the RHS to ADFlow (I did It in serial, not parallel). So, to use solveAdjointforRHS in parallel, I have to scatter the RHS. Is there any way to scatter the data in the same way that it is done in the code using the python interface? I tried to do it using comm.scatter, but, I think, it is not the correct way. Any suggestions about how I should do it? I checked adjointAPI.F90, but I could not really understand how the things are done there! I appreciate any help/clues/suggestions.

Regards,
Arash

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

No branches or pull requests

1 participant