openworm / sibernetic

This is a C++/OpenCL implementation of the PCISPH algorithm supplemented with a set of biomechanics related features applied to C. elegans locomotion
Other
361 stars 105 forks source link

Add info on command line options available when Sibernetic run with -help #59

Closed pgleeson closed 9 years ago

pgleeson commented 10 years ago

Working on this here: https://github.com/pgleeson/Smoothed-Particle-Hydrodynamics/blob/WormBodySimulation/src/main.cpp#L61

Example of current output:

Sibernetic
  This is a C++ implementation of the Contractile SPH (Electrofluid) algorithm applied to C. elegans locomotion
    Usage:  ./Release/Sibernetic [OPTION]
   -no_g       Run without graphics
   -l_to       Save simulation results to disk
   -l_from     Load simulation results from disk
   -test       Run some tests
   -help       Print this information

Comments & suggestions welcome @skhayrulin, @a-palyanov

skhayrulin commented 9 years ago

Hi @pgleeson I'm planning to include this enhancement into current code of Sibernetic in development branch could you please make pull request if everything is ready to be merged?

pgleeson commented 9 years ago

Ok, need to check my local copy, I have a number of modifications including this. Does the development branch use the WormBodySimulation as default, I was working in that branch? Last time I looked that was using the falling cube.

Actually, would it be straightforward to switch between the test cube and the worm body sim using a command line option, i.e. so all updates get reflected on the development branch?

skhayrulin commented 9 years ago

Please make pull request in WormBodySimulation branch, for now in development branch no worm code.

I'm planning to add worm config in development branch ASAP, you're right it will be more useful actually I'm planning log worm configuration into configuration file and load it when needed worm body simulation. I hope to finished with it on next week I'll let you know

pgleeson commented 9 years ago

See #63

skhayrulin commented 9 years ago

@pgleeson I just want to notice you that I've finished with big update of Sibernetic code

And I want to ask you could you please check english in that sections :)

pgleeson commented 9 years ago

Thanks @skhayrulin, looks like a great update. Works fine on my machine, and even intermittent problem with the worm blowing up seem to have stopped. Will be 1-2 weeks before I have time for a detailed look, but will certainly make more updates to development & make pull requests.