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

Plot the residual over iterations for every PE #22

Open
soumyadipghosh opened this issue Feb 19, 2020 · 3 comments
Open

Plot the residual over iterations for every PE #22

soumyadipghosh opened this issue Feb 19, 2020 · 3 comments
Assignees
Labels
question Further information is requested

Comments

@soumyadipghosh
Copy link
Collaborator

soumyadipghosh commented Feb 19, 2020

This would be useful to study convergence. There can be a struct similar to comm_data_struct which stores the residuals over iterations for every PE. After the solver converges, it can be printed to a file. A python script can then be used to plot data.

@pratikvn
Copy link
Owner

The object local_residual_vector_out already stores the local residual norms. You would just need to print it out.

@pratikvn pratikvn added the question Further information is requested label Feb 21, 2020
@soumyadipghosh
Copy link
Collaborator Author

Did this using local_residual_norm defined here

@pratikvn
Copy link
Owner

local_residual_vector_out also stores local_residual_norm for all iterations and all subdomains.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants