Skip to content

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("march_half_so0", &wrapped_type::march_half_so0, py::arg("odd_plane"))
.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.

{
march_half_so0(false);
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?

{
march_half_so0(false);
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?)

{
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