Skip to content

Conversation

@Gene0315
Copy link
Collaborator

Following the issue #338
The PR hides the points on boundary.

Features: The plotting hides the unreasonable points on the boundary.
Strength: It makes the figure look nicer without changing the solution data.
Weakness: It is better to calculate the correct values on the boundary and show them on the boundary.
截圖 2024-06-10 上午10 20 31

Copy link
Collaborator

@j8xixo12 j8xixo12 left a comment

Choose a reason for hiding this comment

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

Thanks @Gene0315 for the great work!

I left some comment in changed files and the following is the checking list before merging this PR:

  • Fix all Github Action error
  • Simplify the redundant code in this PR
  • Clean up unrelated binary files

:return: FigureCanvas
"""
x = self.st.svr.coord[::2]
pt_mid = np.linspace(2,len(self.st.svr.coord) - 3,num=((len(self.st.svr.coord) - 3) // 2),dtype=int)
Copy link
Collaborator

Choose a reason for hiding this comment

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

This code appears many times, would you like to optimize it ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Yes, I think I can do it.

Copy link
Collaborator

Choose a reason for hiding this comment

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

Please remove this binary file, we should not include unrelated file in a PR.

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

ok, I will remove them.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ditto.

Copy link
Collaborator

Choose a reason for hiding this comment

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

ditto.

@yungyuc
Copy link
Member

yungyuc commented Jun 10, 2024

And when cleaning up the blob files, please remove them and squash. I do not want any blob files appearing in git history.

@yungyuc yungyuc added enhancement New feature or request pilot GUI and visualization onedim One-dimensional solver labels Jun 10, 2024
@Gene0315
Copy link
Collaborator Author

And when cleaning up the blob files, please remove them and squash. I do not want any blob files appearing in git history.

ok, I won't do it again.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request onedim One-dimensional solver pilot GUI and visualization

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants