-
Notifications
You must be signed in to change notification settings - Fork 57
Use the NRBC type 2 with $\lambda=0$ #1 #337
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
base: master
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -1004,11 +1004,11 @@ template <typename ST, typename CE, typename SE> | |
| template <size_t ALPHA> | ||
| inline void SolverBase<ST, CE, SE>::march_half1_alpha() | ||
| { | ||
| march_half_so0(false); | ||
| treat_boundary_so0(); | ||
| treat_boundary_so1(); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Why changing the unused solver? |
||
| march_half_so0(false); | ||
| update_cfl(true); | ||
| march_half_so1_alpha<ALPHA>(false); | ||
| treat_boundary_so1(); | ||
| } | ||
|
|
||
| template <typename ST, typename CE, typename SE> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -273,11 +273,11 @@ inline void BadEuler1DSolver::march_half_so1_alpha(bool odd_plane) | |
| template <size_t ALPHA> | ||
| inline void BadEuler1DSolver::march_half1_alpha() | ||
| { | ||
| march_half_so0(false); | ||
| treat_boundary_so0(); | ||
| treat_boundary_so1(); | ||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ditto (Why changing the unused solver?) |
||
| march_half_so0(false); | ||
| update_cfl(true); | ||
| march_half_so1_alpha<ALPHA>(false); | ||
| treat_boundary_so1(); | ||
| } | ||
|
|
||
| template <size_t ALPHA> | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -537,12 +537,12 @@ class MODMESH_PYTHON_WRAPPER_VISIBILITY WrapBadEuler1DSolver | |
| wrapper_type & def_group_march() | ||
| { | ||
| namespace py = pybind11; | ||
|
|
||
|
Member
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Beware of trailing white spaces (TWS). Never add TWS. |
||
| (*this) | ||
| .def_timed("update_cfl", &wrapped_type::update_cfl, py::arg("odd_plane")) | ||
| .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")) | ||
| .def_timed("setup_march", &wrapped_type::setup_march); | ||
|
|
||
| (*this) | ||
|
|
||
There was a problem hiding this comment.
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.