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

Some revisions #7

Merged
merged 16 commits into from
Feb 18, 2025
Merged

Some revisions #7

merged 16 commits into from
Feb 18, 2025

Conversation

brendankeith
Copy link
Member

No description provided.

Copy link
Collaborator

@jorgensd jorgensd left a comment

Choose a reason for hiding this comment

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

Lgtm

@brendankeith
Copy link
Member Author

More coming. Not ready for review yet!

@brendankeith
Copy link
Member Author

brendankeith commented Feb 16, 2025

The names of the folders and scripts within are confusing to outsiders.

I think we should rename the folders in https://github.com/METHODS-Group/ProximalGalerkin/tree/main/examples to example/example1,2,3,4,etc. We then need to come up with a convention for naming the files within.

We could use

  • /examples/exampleX/script.py or
  • /examples/exampleX/application_name.py (e.g., /examples/example1/obstacle.py, /examples/example2/signorini.py)

@brendankeith
Copy link
Member Author

We also need to get rid of https://github.com/METHODS-Group/ProximalGalerkin/tree/main/examples/hyperelasticity, which contains code not used in the paper

@jorgensd
Copy link
Collaborator

The names of the folders and scripts within are confusing to outsiders.

I think we should rename the folders in https://github.com/METHODS-Group/ProximalGalerkin/tree/main/examples to example/example1,2,3,4,etc. We then need to come up with a convention for naming the files within.

We could use

  • /examples/exampleX/script.py or
  • /examples/exampleX/application_name.py (e.g., /examples/example1/obstacle.py, /examples/example2/signorini.py)

Let’s discuss naming once we have all the code.

@jorgensd
Copy link
Collaborator

We also need to get rid of https://github.com/METHODS-Group/ProximalGalerkin/tree/main/examples/hyperelasticity, which contains code not used in the paper

I’ll remove the folder completely in a separate PR.

Co-authored-by: Jørgen Schartum Dokken <dokken@simula.no>
@brendankeith
Copy link
Member Author

This is ready for review!

@ioannisPApapadopoulos
Copy link
Collaborator

I don't agree with renaming the examples to 1,2,3.. I think it difficult for someone just looking at the repo to figure out what example is where and I think the point of the table is to point a reader of the paper to the relevant script for that section.

@brendankeith
Copy link
Member Author

I don't agree with renaming the examples to 1,2,3.. I think it difficult for someone just looking at the repo to figure out what example is where and I think the point of the table is to point a reader of the paper to the relevant script for that section.

@thomas-surowiec and I discussed this topic this morning and would like to propose we number the subdirectories in the following way: 1_obstacle, 2_signorini, etc.

This way, the folders will always be listed in the order they appear in the paper, making it easier to find them than just having a keyword

What do you think @ioannisPApapadopoulos ?


## Table of Examples and Figures

The following table associates each implementation to the examples and figures in the paper. Further information to run the codes is provided for each specific example.

| Figure | File: examples/ | Backend | Instructions |
Copy link
Collaborator

Choose a reason for hiding this comment

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

Thinking about the table, should we just remove the File: examples/ column, or rename it to Example folder:, and point to the folder instead of a file? We could also move the descriptions into each individual folder, with a README, making the landing page slimmer.

Copy link
Member Author

Choose a reason for hiding this comment

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

All of these good ideas are fine with me

@ioannisPApapadopoulos
Copy link
Collaborator

@thomas-surowiec and I discussed this topic this morning and would like to propose we number the subdirectories in the following way: 1_obstacle, 2_signorini, etc.

This way, the folders will always be listed in the order they appear in the paper, making it easier to find them than just having a keyword

What do you think @ioannisPApapadopoulos ?

That sounds good!

@jorgensd jorgensd merged commit d59daf0 into main Feb 18, 2025
6 checks passed
@jorgensd jorgensd deleted the rev1 branch February 18, 2025 21:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants