Download reference/as-diffmpm/configs/elastic/default.py from deformsuite/squishy-assets-test: direct link, hf CLI and curl.
- Browser
- Download file 362 Bytes
-
https://huggingface.co/datasets/deformsuite/squishy-assets-test/resolve/main/reference/as-diffmpm/configs/elastic/default.py
- Command line
-
hf download hf://datasets/deformsuite/squishy-assets-test/reference/as-diffmpm/configs/elastic/default.py
-
curl -L -o default.py https://huggingface.co/datasets/deformsuite/squishy-assets-test/resolve/main/reference/as-diffmpm/configs/elastic/default.py
362 Bytes
| from mmengine.config import read_base | |
| from mpm.engine.mpm_simulator import MPMSimulator | |
| with read_base(): | |
| from ..default import cfg | |
| cfg.update( | |
| dt=1 / 4800, | |
| material=MPMSimulator.elasticity, | |
| cuda_chunk_size=100, | |
| E=316228, | |
| nu=0.25, | |
| physical_params=dict(global_E=1e-1, global_nu=1e-2), | |
| taichi_cuda_memory=6.0 | |
| ) | |
| del MPMSimulator | |