Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion engibench/problems/heatconduction2d/v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ class Config(Conditions):
int, bounded(lower=1).category(THEORY), bounded(lower=10, upper=1000).warning().category(IMPL)
] = 101
"""Resolution of the design space for the initialization"""
max_iter: int = 100
max_iter: Annotated[int, bounded(lower=1).category(THEORY)] = 100
"""Maximum number of iterations for the solver in `optimize()`."""

config: Config
Expand Down
2 changes: 1 addition & 1 deletion engibench/problems/heatconduction3d/v0.py
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ class Config(Conditions):
int, bounded(lower=1).category(THEORY), bounded(lower=10, upper=1000).warning().category(IMPL)
] = 51
"""Resolution of the design space"""
max_iter: int = 100
max_iter: Annotated[int, bounded(lower=1).category(THEORY)] = 100
"""Maximum number of iterations for the solver in `optimize()`."""

config: Config
Expand Down
Loading