penn-graphics-research / ziran2020

Code for two SIGGRAPH 2020 papers from UPenn, AnisoMPM and IQ-MPM!
208 stars 34 forks source link

Using custom mesh #20

Open MRMixedReality opened 2 years ago

MRMixedReality commented 2 years ago

I'm using a triangulated box with tetrahedrons generated by TetWild, but I get the following error when executing AnisoFracture:

FATAL Received fatal signal: SIGSEGV(11)

----------------------------------------STACKTRACE-----------------------------------------

1 ./anisofracture ZIRAN::signalHandler(int)+0x9e [0x55b2640d975e] 2 /lib/x86_64-linux-gnu/libc.so.6 +0x46210 [0x7f917462b210] 3 ./anisofracture ZIRAN::MpmGrid<double, 3, 2>::pollute(std::vector<Eigen::Matrix<double, 3, 1, 0, 3, 1>, Eigen::aligned_allocator<Eigen::Matrix<double, 3, 1, 0, 3, 1> > > const&, double, int, int, Eigen::Matrix<double, 3, 1, 0, 3, 1> const&)+0x6c6 [0x55b2645b0d86] 4 ./anisofracture ZIRAN::MpmSimulationBase<double, 3>::sortParticlesAndPolluteGrid()+0x223 [0x55b2645d0993] 5 ./anisofracture ZIRAN::MpmSimulationBase<double, 3>::reinitialize()+0x6ea [0x55b2645d9cda] 6 ./anisofracture main+0x12d5 [0x55b264029105] 7 /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main+0xf3 [0x7f917460c0b3] 8 ./anisofracture _start+0x2e [0x55b26402b14e]

----------------------------------------CONTEXT--------------------------------------------