Skip to content

Commit

Permalink
This should clarify the setting of some solver variables. Arguments l…
Browse files Browse the repository at this point in the history
…ike 'backend' and 'ret_info' will always be propagated, but 'scheme' and 'adaptive'only for py-pde's native 'explicit' solver.
  • Loading branch information
HannoSpreeuw committed Aug 2, 2024
1 parent 8b63469 commit b6b3df0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion marlpde/parameters.py
Original file line number Diff line number Diff line change
Expand Up @@ -154,10 +154,12 @@ class Solver:
tmax: int = Map_Scenario().Tstar
N: int = 200
solver: str = "scipy"
# Beware that "scheme" and "adaptive" will only be propagated if you have
# chosen py-pde's native "explicit" solver above.
scheme: str = "euler"
adaptive: bool = True
backend: str = "numba"
retinfo: bool = True
adaptive: bool = True

@dataclass
class Tracker:
Expand Down

0 comments on commit b6b3df0

Please sign in to comment.