Skip to content
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

Doc: Core aspects of the basic setup #1699

Merged
merged 86 commits into from
Feb 21, 2024

Conversation

ArseniyKholod
Copy link
Contributor

@ArseniyKholod ArseniyKholod commented Nov 1, 2023

This is a new part of the documentation, that provides explanation of the execution path for Semidiscretization and rhs! for TreeMesh. Closes #1215

Copy link
Contributor

github-actions bot commented Nov 1, 2023

Review checklist

This checklist is meant to assist creators of PRs (to let them know what reviewers will typically look for) and reviewers (to guide them in a structured review process). Items do not need to be checked explicitly for a PR to be eligible for merging.

Purpose and scope

  • The PR has a single goal that is clear from the PR title and/or description.
  • All code changes represent a single set of modifications that logically belong together.
  • No more than 500 lines of code are changed or there is no obvious way to split the PR into multiple PRs.

Code quality

  • The code can be understood easily.
  • Newly introduced names for variables etc. are self-descriptive and consistent with existing naming conventions.
  • There are no redundancies that can be removed by simple modularization/refactoring.
  • There are no leftover debug statements or commented code sections.
  • The code adheres to our conventions and style guide, and to the Julia guidelines.

Documentation

  • New functions and types are documented with a docstring or top-level comment.
  • Relevant publications are referenced in docstrings (see example for formatting).
  • Inline comments are used to document longer or unusual code sections.
  • Comments describe intent ("why?") and not just functionality ("what?").
  • If the PR introduces a significant change or new feature, it is documented in NEWS.md.

Testing

  • The PR passes all tests.
  • New or modified lines of code are covered by tests.
  • New or modified tests run in less then 10 seconds.

Performance

  • There are no type instabilities or memory allocations in performance-critical parts.
  • If the PR intent is to improve performance, before/after time measurements are posted in the PR.

Verification

  • The correctness of the code was verified using appropriate tests.
  • If new equations/methods are added, a convergence test has been run and the results
    are posted in the PR.

Created with ❤️ by the Trixi.jl community.

@ArseniyKholod
Copy link
Contributor Author

ArseniyKholod commented Nov 1, 2023

@ranocha ranocha added the documentation Improvements or additions to documentation label Nov 1, 2023
DanielDoehring
DanielDoehring previously approved these changes Nov 2, 2023
Copy link
Member

@sloede sloede left a comment

Choose a reason for hiding this comment

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

Thanks a lot for the nice tutorial. I've left a few suggestions. Please also commit the scripts you used to generate the nice visualization plots (maybe create a folder named like the tutorial, e.g., tutorial.jl -> tutorial_plots/)

docs/literate/src/files/innards_of_the_basic_setup.jl Outdated Show resolved Hide resolved
docs/literate/src/files/innards_of_the_basic_setup.jl Outdated Show resolved Hide resolved
docs/literate/src/files/innards_of_the_basic_setup.jl Outdated Show resolved Hide resolved
docs/literate/src/files/innards_of_the_basic_setup.jl Outdated Show resolved Hide resolved
docs/literate/src/files/innards_of_the_basic_setup.jl Outdated Show resolved Hide resolved
docs/literate/src/files/innards_of_the_basic_setup.jl Outdated Show resolved Hide resolved
docs/literate/src/files/innards_of_the_basic_setup.jl Outdated Show resolved Hide resolved
docs/literate/src/files/innards_of_the_basic_setup.jl Outdated Show resolved Hide resolved
docs/literate/src/files/innards_of_the_basic_setup.jl Outdated Show resolved Hide resolved
docs/make.jl Outdated Show resolved Hide resolved
@ArseniyKholod
Copy link
Contributor Author

ArseniyKholod commented Nov 3, 2023

Visualizations used in tutorial
TreeMesh_example
Gauss-Lobatto_nodes_example
elements_example
interfaces_example
mortars_example
boundaries_example
SemidiscretizationHyperbolic_structure
semidiscretize_structure
rhs_structure

@ArseniyKholod
Copy link
Contributor Author

Thanks a lot for the nice tutorial. I've left a few suggestions. Please also commit the scripts you used to generate the nice visualization plots (maybe create a folder named like the tutorial, e.g., tutorial.jl -> tutorial_plots/)

Thank you very much for this review, I will add visualization scripts into a folder as you said, but these scripts are unfortunately do not seem to be reusable, because I didn't expect such need und wrote only for one time use by me

ArseniyKholod and others added 12 commits November 3, 2023 12:18
@ArseniyKholod
Copy link
Contributor Author

Do you mean links to general things like method of lines and so on?

Yeah why not, just to avoid any confusion due to doubled usage of terms.

I didn't work with Riemann solvers, so I not sure what I should mention...

Okay, do not worry at this point. Maybe I will add something (later ?)

Thanks for your help with Riemann solvers :)

@ArseniyKholod
Copy link
Contributor Author

Let's wait a little and merge this after #1343 (assuming #1343 will be merged soon-ish). We can then maybe add it as the fourth installment of the "getting started" series.

To summarize, would you prefer to add this as a fourth part to the introductory tutorial?

DanielDoehring
DanielDoehring previously approved these changes Feb 11, 2024
@sloede
Copy link
Member

sloede commented Feb 11, 2024

Let's wait a little and merge this after #1343 (assuming #1343 will be merged soon-ish). We can then maybe add it as the fourth installment of the "getting started" series.

To summarize, would you prefer to add this as a fourth part to the introductory tutorial?

TBH, I am not sure anymore. This is certainly way beyond "getting started". What do the other reviewers think?

@DanielDoehring
Copy link
Contributor

TBH, I am not sure anymore. This is certainly way beyond "getting started". What do the other reviewers think?

What are the alternatives? Making this an own section labeled "behind the scenes" or similar?

@sloede
Copy link
Member

sloede commented Feb 12, 2024

TBH, I am not sure anymore. This is certainly way beyond "getting started". What do the other reviewers think?

What are the alternatives? Making this an own section labeled "behind the scenes" or similar?

I believe that yes, exactly this name was floating around a while ago

@ArseniyKholod
Copy link
Contributor Author

The current state of the tutorial, after all reviews available here.
I also added introduction, as tutorial is going to be separate.
https://host-docs-from-fork-pr.lakemper.eu/tutorials/introduction.html

Copy link
Member

@JoshuaLampert JoshuaLampert left a comment

Choose a reason for hiding this comment

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

Thanks again! Please find two comments below.

DanielDoehring
DanielDoehring previously approved these changes Feb 15, 2024
Copy link
Contributor

@DanielDoehring DanielDoehring left a comment

Choose a reason for hiding this comment

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

Thanks for your work!

@DanielDoehring DanielDoehring enabled auto-merge (squash) February 16, 2024 09:57
@ArseniyKholod
Copy link
Contributor Author

ArseniyKholod commented Feb 16, 2024

@DanielDoehring, this PR has disabled checks, because it only adds docs, so auto-merge will not work, as some checks didn't run. So merging should be done manually:)

Thank you very much!

@ranocha ranocha merged commit 1b2abd0 into trixi-framework:main Feb 21, 2024
6 checks passed
@ranocha
Copy link
Member

ranocha commented Feb 21, 2024

Thanks!

@ranocha
Copy link
Member

ranocha commented Feb 21, 2024

Can you see the new docs in the dev branch of our docs?

@ranocha
Copy link
Member

ranocha commented Feb 21, 2024

Ah, okay, it's fine now - just needed some time to update stuff. Thanks again

@DanielDoehring
Copy link
Contributor

Sometimes your browser cookies might also play tricks on you here

@ArseniyKholod ArseniyKholod deleted the semidiscretization-doc branch February 21, 2024 12:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Improvements or additions to documentation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document the execution path for Semidiscretization and rhs! for TreeMesh
7 participants