jonhrafe / MCDC_Simulator_public

The Monte Carlo Diffusion and Collision simulator (MC/DC), is a C++ open-source Diffusion-Weighted Magnetic Resonance Imaging (DW-MRI) Monte Carlo Simulator.
https://jonhrafe.github.io/MCDC_Simulator_public/
GNU Lesser General Public License v2.1
19 stars 12 forks source link

Missing space between "ply" command and path name not detected. #3

Closed MariamAndersson closed 4 years ago

MariamAndersson commented 4 years ago

When using meshes for simulations, the ply command is used, followed by the path name. When there was a missing space between "ply" and the pathname, the simulations ran, but the mesh was not implemented, producing simulations of only free diffusion.

It would be useful with an error message to prevent this issue and notify the user about the mistake.

jonhrafe commented 4 years ago

The simulator now warns a user if the was initialized, but they "failed" to initialize a valid obstacle.