fix template multiple spheres

Submitted by mschramm on Thu, 06/15/2017 - 08:26

Hello,
I was going through the source code and came across this function, and I was looking to see if there was any more information on it.
I was able to get it to work and it does what I have been using MATLAB to do.
I am working with the bond/gran model and have been using MATLAB to spawn in my fibers.
However, the fix_template_multiplesphere function is doing (almost) what I want.
I say almost because it seems that the code is only checking if "starting node" of this template is inside the boundary
and does not check to make sure all spheres are inside. Is this correct? Am I missing a flag in the insert command to
make sure all spheres of a template are inside a region?

Thank you!