ywangd / mspms2

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

isChargeOn and electype can be combined as one variable #26

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
isChargeOn can be renamed as ChargeType or something to denote if charge is
on and what type the charge interaction is.
0 - OFF
1 - Ewald
2 - Wolf
etc.
So, the input data section can be reduced by one line. Related functions
need to be changed also.

Original issue reported on code.google.com by ywa...@gmail.com on 12 Dec 2007 at 9:23

GoogleCodeExporter commented 9 years ago
isChargeOn and electype are deleted. A new global variable, iChargeType, is 
added.

We can still remove the usage of isEwaldon, isWolfOn, isSimpleCoulombOn. Because
iChargeType should be able to take care of all these.

Original comment by ywa...@gmail.com on 14 Dec 2007 at 11:04