Skip to content

Adding interpol.jl, hyperbolic1D.jl and edit on Operators.jl#340

Open
jlbaranda wants to merge 18 commits into
csrc-sdsu:mainfrom
jlbaranda:interpolator_branch2
Open

Adding interpol.jl, hyperbolic1D.jl and edit on Operators.jl#340
jlbaranda wants to merge 18 commits into
csrc-sdsu:mainfrom
jlbaranda:interpolator_branch2

Conversation

@jlbaranda
Copy link
Copy Markdown

What type of PR is this? (check all applicable)

  • Refactor
  • [ x] Feature
  • Bug Fix
  • Optimization
  • Example
  • Documentation

Description

This would replace #332 and be subsided and would be this one instead

Related Issues & Documents

QA Instructions, Screenshots, Recordings

Added/updated tests?

_We encourage you to test all code included with MOLE, including examples.

  • Yes
  • [ x] No, and this is why: Still a work in progress, I am still working on example to work and operator
  • I need help with writing tests

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?

Comment thread julia/MOLE.jl/examples/hyperbolic1D.jl Outdated
Comment thread julia/MOLE.jl/examples/burgers1D.jl Outdated
Comment thread julia/MOLE.jl/examples/burgers1D.jl Outdated
@valeriabarra
Copy link
Copy Markdown
Collaborator

Hi @jlbaranda , your PR shows the warning

This branch is out-of-date with the base branch

Please sync your branch with the latest upstream main branch. If you have questions or need assistance, please let me know. Thank you

@valeriabarra
Copy link
Copy Markdown
Collaborator

Hello @jlbaranda we are planning to tag a new release of MOLE very soon (tomorrow). If you would like your contribution to be included (which would be very nice) please address my comments as soon as possible. Thank you!

@jlbaranda
Copy link
Copy Markdown
Author

Hey @valeriabarra, I won't be able to finish my contribution until after 05/14/2026 due to prior commitments and finals. Thanks for keeping me updated and I appreciate all the constructive feedback.

@valeriabarra
Copy link
Copy Markdown
Collaborator

Hey @valeriabarra, I won't be able to finish my contribution until after 05/14/2026 due to prior commitments and finals. Thanks for keeping me updated and I appreciate all the constructive feedback.

Hello @jlbaranda , are you able to address the comments now?

@jlbaranda
Copy link
Copy Markdown
Author

Hey @valeriabarra, I won't be able to finish my contribution until after 05/14/2026 due to prior commitments and finals. Thanks for keeping me updated and I appreciate all the constructive feedback.

Hello @jlbaranda , are you able to address the comments now?

Yes, I have been working on it today, I noticed the second comment involves me building the function to remove the global variable use, (coding best practice). I am currently stuck there but I think I could manage.

@valeriabarra
Copy link
Copy Markdown
Collaborator

Hey @valeriabarra, I won't be able to finish my contribution until after 05/14/2026 due to prior commitments and finals. Thanks for keeping me updated and I appreciate all the constructive feedback.

Hello @jlbaranda , are you able to address the comments now?

Yes, I have been working on it today, I noticed the second comment involves me building the function to remove the global variable use, (coding best practice). I am currently stuck there but I think I could manage.

Okay,
Also, please note that the main branch has been updated with some latest MOLE.jl developments (where you can see how other tests and examples were done). Please sync your fork and then please rebase your branch on the top of the current public main branch. If you need assistance with how to do that, please let me know. Thank you

@valeriabarra
Copy link
Copy Markdown
Collaborator

Hello @jlbaranda , please let me know if you can update this soon or need assistance. Happy to help. Thank you!

@valeriabarra
Copy link
Copy Markdown
Collaborator

Hi @jlbaranda, I would like to help speed up this PR so that we can merge it soon. If you can't update it at this time, I could help by directly pushing to your branch. Please let me know if you are OK with me pushing to your branch. Thank you

@jlbaranda jlbaranda force-pushed the interpolator_branch2 branch from bc23ceb to 41f7396 Compare May 29, 2026 21:44
@jlbaranda
Copy link
Copy Markdown
Author

Hi @jlbaranda, I would like to help speed up this PR so that we can merge it soon. If you can't update it at this time, I could help by directly pushing to your branch. Please let me know if you are OK with me pushing to your branch. Thank you

Hey @valeriabarra , thanks for your patience, I have updated the Julia files to fix the comments on the animations and also saving the outputs for both hyperbolic1D.jl and burgers1D.jl. I still need to work on the documentation. Please let me know if there are any more changes I need to do the Julia files. I plan to work on the documentation portion after work.

Comment thread julia/MOLE.jl/docs/src/index.md
@valeriabarra
Copy link
Copy Markdown
Collaborator

Hi @jlbaranda , in addition to my other comment, please remove the mole/julia/MOLE.jl/examples/hyperbolic/output/ folder from your PR. We do not want to push output files in the public repo. Thank you!

@jlbaranda
Copy link
Copy Markdown
Author

Hi @valeriabarra, I have removed the output folder from the PR and modified the docs index file to include the interpol operator. Let me know if there is anything I need to add or adjust. Thanks again for your prompt replies!!

Comment thread julia/MOLE.jl/src/Operators/interpol.jl Outdated
@valeriabarra
Copy link
Copy Markdown
Collaborator

Hi @jlbaranda , in addition to my Review comment, please note that the main branch has been updated with changes that also affect your PR. Please update your fork and PR branch based on the latest main branch again. Thank you!

@jlbaranda jlbaranda force-pushed the interpolator_branch2 branch from 9fee09b to f9514bc Compare June 3, 2026 23:56
@jlbaranda
Copy link
Copy Markdown
Author

Hi @jlbaranda , in addition to my Review comment, please note that the main branch has been updated with changes that also affect your PR. Please update your fork and PR branch based on the latest main branch again. Thank you!

Hey @valeriabarra, I have updated my fork and PR branch, and have tested the compiling for the documents locally. Let me know if there is anything I need to add or adjust. I greatly appreciate your reviews!!

@valeriabarra
Copy link
Copy Markdown
Collaborator

Hi @jlbaranda , in addition to my Review comment, please note that the main branch has been updated with changes that also affect your PR. Please update your fork and PR branch based on the latest main branch again. Thank you!

Hey @valeriabarra, I have updated my fork and PR branch, and have tested the compiling for the documents locally. Let me know if there is anything I need to add or adjust. I greatly appreciate your reviews!!

Looks good, thank you!

Comment on lines +2 to +29
#=
@testset "Testing interpolating operator for m=5 and c=0.5" begin
m = 5
c = 0.5
I = Operators.interpol(m,c)
A = [1 0 0 0 0 0 0;
0 0.5 0.5 0 0 0 0;
0 0 0.5 0.5 0 0 0;
0 0 0 0.5 0.5 0 0;
0 0 0 0 0.5 0.5 0;
0 0 0 0 0 0 1]
@test norm(I-A) < tol
end


@testset "Testing interpolating operator for m=5 and c=1" begin
m = 5
c = 1.0
I = Operators.interpol(m,c)
A = [1 0 0 0 0 0 0;
0 1 0 0 0 0 0;
0 0 1 0 0 0 0;
0 0 0 1 0 0 0;
0 0 0 0 1 0 0;
0 0 0 0 0 0 1]
@test norm(I-A) < tol
end
=#
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Hi @jlbaranda , did you intend to comment/hide these tests?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Implementation of Interpolator Operator on Julia

3 participants