Closed pgleeson closed 9 years ago
@pgleeson I've just added configuration file without water in configuration folder name is worm_no_water
Great, thanks! It's definitely speeded things up. However, the activation doesn't seem to be going into the muscles in this version. Maybe by default if there's any mention of 'worm' in the configuration file name then try to add the contractions?
@skhayrulin, are you sure about '&&'? maybe '||'?
Line 77 also should be modified: 'bool isWormConfig(){ return (configFileName == "worm" )? true:false;' should become 'bool isWormConfig(){ return (configFileName == "worm" || configFileName == "worm_no_water")? true:false;'
After this it works correctly.
@a-palyanov yes you right || not &&
Guys I've updated the code it in repository now
Works great for me now, thanks!
@skhayrulin would it just be a case of copying https://github.com/openworm/sibernetic/blob/development/configuration/worm and removing the positions of external water particles? How can these be identified in the current file?
Motivation for this is testing the worm sim with different inputs in the absence of liquid, which may speed up the simulation and demonstrate overall worm body behaviour (does it wiggle...) with fewer particles...