src/vertexmove.c
@@ -88,6 +88,14 @@ } } // plane confinement check whether the new position of vertex will be out of bounds if(vesicle->tape->plane_confinement_switch){ if(vtx->z>vesicle->confinement_plane.z_max || vtx->z<vesicle->confinement_plane.z_min){ vtx=memcpy((void *)vtx,(void *)&backupvtx[0],sizeof(ts_vertex)); return TS_FAIL; } } //#undef SQ //self avoidance check with distant vertices cellidx=vertex_self_avoidance(vesicle, vtx);