3import pytest
5from cymsim.config import SimulationConfig, default_config
7logging.getLogger("cymsim").setLevel(logging.WARNING)
11def coarse_config() -> SimulationConfig:
12 """A 20 mm mesh with few dents: fast enough for CPU tests, still the full model."""
13 cfg = default_config("mallet")
14 cfg.mesh.element_size = 0.02
15 cfg.imperfections.n_dents = 50
16 cfg.numerics.duration = 0.02
17 cfg.numerics.steps_per_block = 500
18 cfg.numerics.n_progress = 2
19 return cfg