/[escript]/branches/doubleplusgood/paso/src/SharedComponents.cpp
ViewVC logotype

Diff of /branches/doubleplusgood/paso/src/SharedComponents.cpp

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

revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC revision 3642 by caltinay, Thu Oct 27 03:41:51 2011 UTC
# Line 14  Line 14 
14    
15  /**************************************************************/  /**************************************************************/
16    
17  /* Paso: SharedComponents organizes the coupling with in a pattern/matrix   */  /* Paso: SharedComponents organizes the coupling within a     */
18  /*       across processors                                         */  /*       pattern/matrix across processors                     */
19    
20  /**************************************************************/  /**************************************************************/
21    
22  /* Author: Lutz Gross, l.gross@uq.edu.au */  /* Author: Lutz Gross, l.gross@uq.edu.au                      */
23    
24  /**************************************************************/  /**************************************************************/
25    
# Line 28  Line 28 
28    
29  /**************************************************************/  /**************************************************************/
30    
31  /* allocates a SharedComponents  */  /* allocates SharedComponents  */
   
32    
33  /**************************************************************/  /**************************************************************/
34    
# Line 102  Paso_SharedComponents* Paso_SharedCompon Line 101  Paso_SharedComponents* Paso_SharedCompon
101       return in;       return in;
102  }  }
103        
104  /* deallocates a SharedComponents: */  /* deallocates SharedComponents */
105    
106  void Paso_SharedComponents_free(Paso_SharedComponents* in) {  void Paso_SharedComponents_free(Paso_SharedComponents* in) {
107    if (in!=NULL) {    if (in!=NULL) {
# Line 114  void Paso_SharedComponents_free(Paso_Sha Line 113  void Paso_SharedComponents_free(Paso_Sha
113          Esys_MPIInfo_free(in->mpi_info);          Esys_MPIInfo_free(in->mpi_info);
114          MEMFREE(in);          MEMFREE(in);
115          #ifdef Paso_TRACE          #ifdef Paso_TRACE
116          printf("Paso_SharedComponents_dealloc: system matrix pattern as been deallocated.\n");          printf("Paso_SharedComponents_dealloc: system matrix pattern has been deallocated.\n");
117          #endif          #endif
118       }       }
119     }     }
120  }  }
121    

Legend:
Removed from v.3259  
changed lines
  Added in v.3642

  ViewVC Help
Powered by ViewVC 1.1.26