Changeset 16 in ZHANGProjects
- Timestamp:
- Aug 25, 2014, 4:10:56 PM (10 years ago)
- Location:
- ICOSIM/CPP/trunk/source
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
ICOSIM/CPP/trunk/source/crystal_dan_FINAL_VERSION_CHvsVR.f
r15 r16 858 858 859 859 kxmcs = DYA*ran_x 860 k xmcs = DYA*ran_x860 kymcs = DYA*ran_y 861 861 862 862 c kxmcs = DYA*RAN_GAUSS(1.) 863 c 863 c kymcs = DYA*RAN_GAUSS(1.) 864 864 865 865 XP = xp+kxmcs 866 866 yp = yp+kymcs 867 867 868 write(*,*) "ran_x = ", ran_x, "ran_y = ", ran_y869 cwrite(*,*) "kxmcs = ", kxmcs, "kymcs = ", kymcs870 cwrite(*,*)'xp + kxmcs:', XP, 'yp + kxmcs', YP868 c write(*,*) "ran_x = ", ran_x, "ran_y = ", ran_y 869 write(*,*) "kxmcs = ", kxmcs, "kymcs = ", kymcs 870 write(*,*)'xp + kxmcs:', XP, 'yp + kxmcs', YP 871 871 872 872 cc XP = XP+DYA*RAN_GAUSS(1.) … … 938 938 endif 939 939 940 write(*,*) "ichoix = ", ichoix 941 write(*,*)'xp final:', xp, 'yp final', yp 942 940 943 !---------- calculate the related kick ----------- 941 944 -
ICOSIM/CPP/trunk/source/simcrys.cc
r15 r16 1000 1000 1001 1001 crys.Cry_length = length; 1002 1003 x=part.x; 1004 xp=part.xp; 1005 z=part.y; 1006 zp=part.yp; 1007 p=part.PC; 1008 s=part.s; 1002 1009 1003 1010 … … 1178 1185 1179 1186 1187 1188 x=part.x; 1189 xp=part.xp; 1190 z=part.y; 1191 zp=part.yp; 1192 p=part.PC; 1193 s=part.s; 1180 1194 1181 1195 /* … … 1435 1449 1436 1450 // =================================================================================FIN DE RETOUR AU COORDONEE DE ICOSIM==================================================================== 1437 /*1451 1438 1452 part.xp=xp; 1439 1453 part.yp=zp; … … 1441 1455 part.x=x; 1442 1456 part.PC=p; 1443 */1457 1444 1458 xp1 = part.xp; 1445 1459
Note: See TracChangeset
for help on using the changeset viewer.