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

Use the NRBC type 2 with $\lambda=0$ #1 #337

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Gene0315
Copy link
Collaborator

Following the issue #330

This PR includes:

  1. the NRBC type 2
  2. the sequences of "march_half_so0", "treat_boundary_so0", and "treat_boundary_so1".

Obviously, the result shows that there must be something wrong in the code.

截圖 2024-05-31 中午12 41 15

Copy link
Member

@yungyuc yungyuc left a comment

Choose a reason for hiding this comment

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

What do you expect in the result?

.def_timed("treat_boundary_so0", &wrapped_type::treat_boundary_so0)
.def_timed("treat_boundary_so1", &wrapped_type::treat_boundary_so1)
.def_timed("march_half_so0", &wrapped_type::march_half_so0, py::arg("odd_plane"))
Copy link
Member

Choose a reason for hiding this comment

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

This is not a refactoring PR. It is unnecessary to change the order of existing code. Next time please avoid doing it in a non-refactoring PR.

treat_boundary_so0();
treat_boundary_so1();
Copy link
Member

Choose a reason for hiding this comment

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

Why changing the unused solver?

treat_boundary_so0();
treat_boundary_so1();
Copy link
Member

Choose a reason for hiding this comment

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

Ditto (Why changing the unused solver?)

@@ -537,12 +537,12 @@ class MODMESH_PYTHON_WRAPPER_VISIBILITY WrapBadEuler1DSolver
wrapper_type & def_group_march()
{
namespace py = pybind11;

Copy link
Member

Choose a reason for hiding this comment

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

Beware of trailing white spaces (TWS). Never add TWS.

@yungyuc yungyuc added the onedim One-dimensional solver label May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
onedim One-dimensional solver
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants