/[escript]/trunk/dudley/src/Mesh_distributeByRankOfDOF.c
ViewVC logotype

Diff of /trunk/dudley/src/Mesh_distributeByRankOfDOF.c

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

revision 4285 by jfenwick, Tue Jan 22 09:30:23 2013 UTC revision 4286 by caltinay, Thu Mar 7 04:28:11 2013 UTC
# Line 16  Line 16 
16  /************************************************************************************/  /************************************************************************************/
17    
18  /*   Dudley: Mesh: this will redistribute the Nodes and Elements including overlap */  /*   Dudley: Mesh: this will redistribute the Nodes and Elements including overlap */
19  /*   according to the dof_distribiution. It will create an element coloring but will not create any mappings. */  /*   according to the dof_distribution. It will create an element coloring but will not create any mappings. */
20    
21  /************************************************************************************/  /************************************************************************************/
22    
# Line 41  void Dudley_Mesh_distributeByRankOfDOF(D Line 41  void Dudley_Mesh_distributeByRankOfDOF(D
41      Dudley_NodeFile_assignMPIRankToDOFs(self->Nodes, mpiRankOfDOF, dof_distribution);      Dudley_NodeFile_assignMPIRankToDOFs(self->Nodes, mpiRankOfDOF, dof_distribution);
42    
43      /* first the elements are redistributed according to mpiRankOfDOF */      /* first the elements are redistributed according to mpiRankOfDOF */
44      /* at the input the Node tables refering to a the local labeling of the nodes */      /* at the input the Node tables refer to a the local labeling of the nodes */
45      /* while at the output they refer to the global labeling which is rectified in the next step */      /* while at the output they refer to the global labeling which is rectified in the next step */
46      if (Dudley_noError())      if (Dudley_noError())
47          Dudley_ElementFile_distributeByRankOfDOF(self->Elements, mpiRankOfDOF, self->Nodes->Id);          Dudley_ElementFile_distributeByRankOfDOF(self->Elements, mpiRankOfDOF, self->Nodes->Id);

Legend:
Removed from v.4285  
changed lines
  Added in v.4286

  ViewVC Help
Powered by ViewVC 1.1.26