ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mengine/src/get_mem.c
(Generate patch)
# Line 9 | Line 9
9   #include "nonbond.h"
10   #include "torsions.h"
11  
12 void max_torsions(void);
12   void get_molecule_memory(int);
13   int use_solv(void);
14   void allocate_rings(int);
15 + void max_torsions(int natom,int *type,int **iat,int **bo);
16  
17   #define STILL 1
18   #define HCT   2
# Line 147 | Line 147
147      nonbond.vrad14 = dmatrix(0,nonbond.maxnbtype+1, 0,nonbond.maxnbtype+1);
148      nonbond.veps14 = dmatrix(0,nonbond.maxnbtype+1, 0,nonbond.maxnbtype+1);
149  
150 <    max_torsions();
150 >    max_torsions(natom,atom.type,atom.iat,atom.bo);
151      ntor = torsions.ntor;
152      if (ntor > 0)
153      {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines