Skip to content

Minor changes#120

Merged
ffelten merged 21 commits into
mainfrom
airfoil_latest
May 2, 2025
Merged

Minor changes#120
ffelten merged 21 commits into
mainfrom
airfoil_latest

Conversation

@cashend
Copy link
Copy Markdown
Contributor

@cashend cashend commented May 1, 2025

Also modified the function random_design in each problem to have additional attributes dataset_key: str = "train", design_key: str = "initial_design", since it was bothering me that it was hardcoded. I would have modified it in core, since a good amount of the problems have the same basic random_design function, but I think this would go against the generic aspect of that code.

Added an optisteps render function, removed closed curve constraint + slightly cleaned documentation and some other minor things.

@cashend cashend requested a review from ffelten May 1, 2025 18:15
Copy link
Copy Markdown
Collaborator

@ffelten ffelten left a comment

Choose a reason for hiding this comment

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

Thanks !

I think you can update the random_design method in core. Makes sense to me.

Comment thread engibench/problems/airfoil/v0.py Outdated
Comment thread engibench/problems/airfoil/v0.py
Comment thread engibench/problems/airfoil/v0.py Outdated
Comment thread engibench/problems/airfoil/v0.py Outdated
Comment thread engibench/problems/airfoil/v0.py Outdated
@cashend
Copy link
Copy Markdown
Contributor Author

cashend commented May 2, 2025

Thanks !

I think you can update the random_design method in core. Makes sense to me.

I'll leave this one till later for now - since mypy will complain if we don't get the overloads right.

Comment thread engibench/problems/airfoil/v0.py Outdated
Comment thread engibench/problems/airfoil/v0.py
@ffelten ffelten merged commit 2d91191 into main May 2, 2025
9 checks passed
@ffelten ffelten deleted the airfoil_latest branch May 2, 2025 17:12
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.

2 participants