-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add more NRBC treatment in the 1D Euler solver #330
Comments
@Gene0315 I agree that we can also make the plotting look nicer. That can use a different issue to track. Could you please create one? (And associate that one with this.) |
@Gene0315 I wonder what is your response to this request? And please do not attach images for showing code or diff like in your comment #330 (comment) . When you want to show plain text, use plain text format of markdown. For example, you can quote code diff like: diff --git a/cpp/modmesh/onedim/Euler1DCore.cpp b/cpp/modmesh/onedim/Euler1DCore.cpp
index 8065d79..2eb9bde 100644
--- a/cpp/modmesh/onedim/Euler1DCore.cpp
+++ b/cpp/modmesh/onedim/Euler1DCore.cpp
@@ -179,7 +179,7 @@ void Euler1DCore::treat_boundary_so1()
// Set outside value from inside value.
{
// Left boundary.
- size_t const ic = 1;
+ size_t const ic = 0;
m_so1(ic, 0) = m_so1(ic + 1, 0);
m_so1(ic, 1) = m_so1(ic + 1, 1);
m_so1(ic, 2) = m_so1(ic + 1, 2); Code pasted in an image cannot be searched and is useless. We should not do it in GitHub. It is easier to discuss for your question in #330 (comment) in a pull request. Please create one for it. |
PR #326 implemented a NRBC treatment for the 1D Euler solver. There are other variants that we should try.
The associated issue for adding notes: solvcon/mmnote#31
The text was updated successfully, but these errors were encountered: