/[escript]/trunk/esys2/finley/src/finleyC/Mesh_findMatchingFaces.c
ViewVC logotype

Diff of /trunk/esys2/finley/src/finleyC/Mesh_findMatchingFaces.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 97 by jgs, Tue Dec 14 05:39:33 2004 UTC revision 100 by jgs, Wed Dec 15 03:48:48 2004 UTC
# Line 59  void Finley_Mesh_findMatchingFaces(Finle Line 59  void Finley_Mesh_findMatchingFaces(Finle
59      int a1[NN],a2[NN],*perm,*perm_tmp,n;      int a1[NN],a2[NN],*perm,*perm_tmp,n;
60      Finley_Mesh_findMatchingFaces_center *center;      Finley_Mesh_findMatchingFaces_center *center;
61    
62      X=TMPMEMALLOC(NN*numDim*faces->numElements,double);      X=(double*) TMPMEMALLOC(sizeof(double)*NN*numDim*faces->numElements);
63      center=TMPMEMALLOC(faces->numElements,Finley_Mesh_findMatchingFaces_center);      center=(Finley_Mesh_findMatchingFaces_center*) TMPMEMALLOC(sizeof(Finley_Mesh_findMatchingFaces_center)*faces->numElements);
64      if (!(Finley_checkPtr(X) || Finley_checkPtr(center)) ) {      if (!(Finley_checkPtr(X) || Finley_checkPtr(center)) ) {
65         /* OMP */         /* OMP */
66         for (e=0;e<faces->numElements;e++) {         for (e=0;e<faces->numElements;e++) {
# Line 171  void Finley_Mesh_findMatchingFaces(Finle Line 171  void Finley_Mesh_findMatchingFaces(Finle
171    
172  /*  /*
173  * $Log$  * $Log$
174  * Revision 1.2  2004/12/14 05:39:30  jgs  * Revision 1.3  2004/12/15 03:48:45  jgs
175  * *** empty log message ***  * *** empty log message ***
176  *  *
 * Revision 1.1.1.1.2.1  2004/11/24 01:37:14  gross  
 * some changes dealing with the integer overflow in memory allocation. Finley solves 4M unknowns now  
 *  
177  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs  * Revision 1.1.1.1  2004/10/26 06:53:57  jgs
178  * initial import of project esys2  * initial import of project esys2
179  *  *

Legend:
Removed from v.97  
changed lines
  Added in v.100

  ViewVC Help
Powered by ViewVC 1.1.26