Closed jeremylt closed 2 years ago
Thanks Jeremy for this. I think I will be able to get back to this from Friday morning. I would like to clean up all the messy commits. Maybe we can have a call together on Friday?
I think I addressed the issues, should I push for you to see before trying squash-merge and rebasing. @jeremylt pls what do you mean by new convenience constructor?
The roadmap for this collection of PRs is unclear to me. Many of the commits seem to be intermingled across multiple PRs. This issue is my effort to try to come up with a plan to get all this work merged.
Here is my understanding of the features we want to add:
ex010_advection.jl
anddemo010_advection.ipynb
docs/src/examples/advection.md
ex011_advection_supg.jl
anddemo011_advection_supg.ipynb
docs/src/examples/advection.md
I think that once we get these three PRs fixed up and merged, then we can move to the other two.
The commit history on these branches is messy - I'm fine with squash-merge if we can get the contents of those branches rebased for the updates in main and the have the formatting and documentation issues all tidied up, though the best case scenario would be 'clean' branches with one or two relevant commits to add each new feature.
This is a general checklist for every PR:
julia .Style.jl
to automatically fix all formattingArguments
,Returns
andExample
docs/src
in the relevant*.md
fileExample docstring + doctest
~~~julia """ ```julia gausslobattoquadrature(q, weights) ``` Construct a Gauss-Legendre-Lobatto quadrature # Arguments: - `q`: number of Gauss-Legendre-Lobatto points - `weights`: boolean flag indicating if quadrature weights are desired # Returns: - Gauss-Legendre-Lobatto quadrature points or points and weights # Example: ```jldoctest # generate Gauss-Legendre-Lobatto points quadraturepoints = LFAToolkit.gausslobattoquadrature(5, false); # verify truepoints = [-1.0, -√(3/7), 0.0, √(3/7), 1.0]; @assert truepoints ≈ quadraturepoints # generate Gauss-Legendre-Lobatto points and weights quadraturepoints, quadratureweights = LFAToolkit.gausslobattoquadrature(5, true); # verify trueweights = [1/10, 49/90, 32/45, 49/90, 1/10]; @assert trueweights ≈ quadratureweights # output ``` """ ~~~Did I capture the main plan? Am I missing anything?