Skip to content

saalfeldlab/MPM_pytorch

Repository files navigation

MPM pytorch

pytorch version of https://github.com/yuanming-hu/taichi_mpm

Cédric Allier

Janelia Research Campus, Howard Hughes Medical Institute

Simulation Demo

python -o generate 'multimaterial_4_0'

Simulation Demo

plot_3d_shaded_pointcloud(X, ID, T, output_path_3d, 'F')  # change line 1148 graph_data_generator.py

Setup

Run the following line from the terminal to create a new environment particle-graph:

conda env create -f environment.yaml

Activate the environment:

conda activate MPM-pytorch

Install the package by executing the following command from the root of this directory:

pip install -e .

Then, you should be able to import all the modules from the package in python:

from MPM-pytorch import *

About

Develop a full PyTorch version of Taichi-MPM

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages