Matlab to cpp translations. Hyperbolic1D and Parabolic2D draft#330
Matlab to cpp translations. Hyperbolic1D and Parabolic2D draft#330CaywoodR wants to merge 16 commits intocsrc-sdsu:mainfrom
Conversation
|
Hi @CaywoodR thank you for your contribution! Please modify the name of the PR to reflect that it is not python and to be a bit more specific. Thank you! |
|
Hi @CaywoodR , thank you for your contribution. Please update this branch with the |
|
@valeriabarra Would I only use rebase on the local branch of the mole fork? |
Yes, but first you need to make sure your upstream and origin are set up correctly (check |
|
On my current path /home/caywood/Math693B/mole/build/examples/cpp, I input git remote -v. It output
So, git fetch will update the main branch on my fork? |
|
Do |
|
I input
I did not see anything happen, but I input it again to get:
So, the upstream remote is now there. |
You can verify by running (the If you have more questions on how to update your branch, it's probably easier if you could stop by office hours and I can assist. Thank you |
|
run
the output is:
Sounds good. Thanks for the assistance! |
fbc9627 to
bd52377
Compare
…ss. Need to add animation to parabolic2D to reflect matlab drawnow;
bd52377 to
2c96f0f
Compare
| This example is implemented in: | ||
| - [MATLAB/ OCTAVE](https://github.com/csrc-sdsu/mole/blob/main/examples/matlab_octave/hyperbolic1D.m) | ||
|
|
||
| - [C++](https://github.com/csrc-sdsu/mole/blob/main/examples/matlab_octave/hyperbolic1D.cpp) |
There was a problem hiding this comment.
Hi @CaywoodR , please fix the intended URL path. It will be inside examples/cpp/ not examples/matlab_octave/. Thanks
There was a problem hiding this comment.
Professor Barra, On it!
Thank you. Fix has been pushed.
What type of PR is this? (check all applicable)
Description
Translating from matlab to cpp for hyperbolic1D, parabolic2D, and helmholtz2D_wifi. hyperbolic1D and parabolic2D are ready for review. I am still working on the last one.
Related Issues & Documents
QA Instructions, Screenshots, Recordings
_From .../mole/build
Added/updated tests?
_We encourage you to test all code included with MOLE, including examples.
Read Contributing Guide and Code of Conduct
[optional] Are there any post deployment tasks we need to perform?
[optional] What gif best describes this PR or how it makes you feel?