ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/freemol/trunk/src/mengine/src/get_mem.c
(Generate patch)
# Line 5 | Line 5
5   #include "attached.h"
6   #include "derivs.h"
7   #include "hess.h"
8 #include "rings.h"
8   #include "utility.h"
9   #include "nonbond.h"
10   #include "torsions.h"
# Line 129 | Line 128
128      hess.hessy = matrix(0,natom+1, 0,3);
129      hess.hessz = matrix(0,natom+1, 0,3);
130  
132    rings.r13 = imatrix(0,natom+1, 0,3);
133    rings.r14 = imatrix(0,natom+1, 0,4);
134    rings.r15 = imatrix(0,natom+1, 0,5);
135    rings.r16 = imatrix(0,natom+1, 0,6);
136
131      attached.n13 = ivector(0,natom+1);
132      attached.n14 = ivector(0,natom+1);
133      attached.i13 = imatrix(0, 20, 0,natom+1);
# Line 231 | Line 225
225      free_matrix(hess.hessy, 0,natom+1, 0,3);
226      free_matrix(hess.hessz, 0,natom+1, 0,3);
227  
234    free_imatrix(rings.r13, 0,natom+1, 0,3);
235    free_imatrix(rings.r14, 0,natom+1, 0,4);
236    free_imatrix(rings.r15, 0,natom+1, 0,5);
237    free_imatrix(rings.r16, 0,natom+1, 0,6);
228      free_ivector(attached.n13 ,0,natom+1);
229      free_ivector(attached.n14 ,0,natom+1);
230      free_imatrix(attached.i13 ,0, 20, 0,natom+1);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines