]> hackdaworld.org Git - physik/posic.git/commitdiff
added debug aattr print + initialize nnd for 'none' lattice manually
authorhackbard <hackbard@sage.physik.uni-augsburg.de>
Tue, 19 Aug 2008 14:45:06 +0000 (16:45 +0200)
committerhackbard <hackbard@sage.physik.uni-augsburg.de>
Tue, 19 Aug 2008 14:45:06 +0000 (16:45 +0200)
mdrun.c

diff --git a/mdrun.c b/mdrun.c
index 1368880b7c62cde2eb66761bf726c962751f6cce..af8a352cf88601347d9a191bbf6c4e33416b59ad 100644 (file)
--- a/mdrun.c
+++ b/mdrun.c
@@ -836,6 +836,7 @@ int chaatr(t_moldyn *moldyn,t_mdrun *mdrun) {
                }
                atom->attr=cap->attr;
        }
+       printf("     atom attributes: %02x\n\n",cap->attr);
 
        return 0;
 }
@@ -1127,6 +1128,7 @@ int main(int argc,char **argv) {
                                       mdrun.ly,mdrun.lz,&o);
                        break;
                case NONE:
+                       set_nn_dist(&moldyn,mdrun.nnd);
                        break;
                default:
                        printf("%s unknown lattice type: %02x\n",