ywangd / mspms2

Automatically exported from code.google.com/p/mspms2
0 stars 1 forks source link

Make the program more structurelized #3

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
1. Make small source files instead of big ones. Maybe one function one file.
2. This is also related make better Makefile, see Bug 2

Original issue reported on code.google.com by ywa...@gmail.com on 28 Nov 2007 at 5:44

GoogleCodeExporter commented 9 years ago
The code for the MD simulation is separated from the main() function into a new
function, md(), into a new file, md.c

More opitmization/organization are needed.

Original comment by ywa...@gmail.com on 30 Nov 2007 at 7:24

GoogleCodeExporter commented 9 years ago
We should use modular programming style.

Try best to avoid using global variables in most functions. This has to be 
done. We
can start it slowly.

Original comment by ywa...@gmail.com on 27 Mar 2008 at 5:01