/[escript]/trunk/paso/src/SharedComponents.c
ViewVC logotype

Diff of /trunk/paso/src/SharedComponents.c

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

revision 1388 by trankine, Fri Jan 11 07:45:58 2008 UTC revision 1562 by gross, Wed May 21 13:04:40 2008 UTC
# Line 33  Line 33 
33    
34  /**************************************************************/  /**************************************************************/
35    
36  Paso_SharedComponents* Paso_SharedComponents_alloc(dim_t numNeighbors,  Paso_SharedComponents* Paso_SharedComponents_alloc(dim_t local_length,
37                                                       dim_t numNeighbors,
38                                                     Paso_MPI_rank* neighbor,                                                     Paso_MPI_rank* neighbor,
39                                                     index_t* shared,                                                     index_t* shared,
40                                                     index_t* offsetInShared,                                                     index_t* offsetInShared,
# Line 46  Paso_SharedComponents* Paso_SharedCompon Line 47  Paso_SharedComponents* Paso_SharedCompon
47    Paso_resetError();    Paso_resetError();
48    out=MEMALLOC(1,Paso_SharedComponents);    out=MEMALLOC(1,Paso_SharedComponents);
49    if (!Paso_checkPtr(out)) {    if (!Paso_checkPtr(out)) {
50          out->local_length=local_length*m;
51        out->mpi_info = Paso_MPIInfo_getReference(mpi_info);        out->mpi_info = Paso_MPIInfo_getReference(mpi_info);
52        out->numNeighbors=numNeighbors;        out->numNeighbors=numNeighbors;
53        out->neighbor=MEMALLOC(out->numNeighbors,Paso_MPI_rank);        out->neighbor=MEMALLOC(out->numNeighbors,Paso_MPI_rank);

Legend:
Removed from v.1388  
changed lines
  Added in v.1562

  ViewVC Help
Powered by ViewVC 1.1.26