Skip to content

Commit

Permalink
Overwrite defaults in special linear scenarios
Browse files Browse the repository at this point in the history
  • Loading branch information
Ceyron committed May 28, 2024
1 parent 067adbf commit 582a00d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions apebench/scenarios/physical/_special_linear.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,8 +54,8 @@ class DiagonalDiffusion(BaseScenario):
dt: float = 0.1

diffusion_coef_vector: tuple[float, ...] = (
0.01,
0.02,
0.001,
0.002,
) # Needs to be as long as num_spatial_dims

coarse_proportion: float = 0.5
Expand Down Expand Up @@ -95,8 +95,8 @@ class AnisotropicDiffusion(BaseScenario):
dt: float = 0.1

diffusion_coef_matrix: tuple[tuple[float, ...], ...] = (
(0.01, 0.005),
(0.005, 0.02),
(0.001, 0.0005),
(0.0005, 0.002),
)
"""
Needs to be a square matrix with the same size as the number of spatial
Expand Down

0 comments on commit 582a00d

Please sign in to comment.