/[escript]/trunk/finley/src/Mesh_prepare.cpp
ViewVC logotype

Diff of /trunk/finley/src/Mesh_prepare.cpp

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

revision 2881 by jfenwick, Thu Jan 28 02:03:15 2010 UTC revision 3259 by jfenwick, Mon Oct 11 01:48:14 2010 UTC
# Line 28  void Finley_Mesh_prepare(Finley_Mesh* in Line 28  void Finley_Mesh_prepare(Finley_Mesh* in
28       if (in==NULL) return;       if (in==NULL) return;
29       if (in->Nodes == NULL) return;       if (in->Nodes == NULL) return;
30    
31       Mesh_setOrders(in);       Finley_Mesh_setOrders(in);
32    
33       /* first step is to distribute the elements according to a global distribution of DOF */       /* first step is to distribute the elements according to a global distribution of DOF */
34    
# Line 41  void Finley_Mesh_prepare(Finley_Mesh* in Line 41  void Finley_Mesh_prepare(Finley_Mesh* in
41    
42          /* create a distribution of the global DOFs and determine          /* create a distribution of the global DOFs and determine
43             the MPI_rank controling the DOFs on this processor      */             the MPI_rank controling the DOFs on this processor      */
44          Paso_MPIInfo_setDistribution(in->MPIInfo,0,newGlobalNumDOFs-1,distribution);          Esys_MPIInfo_setDistribution(in->MPIInfo,0,newGlobalNumDOFs-1,distribution);
45    
46          /* now the mesh is re-distributed according to the mpiRankOfDOF vector */          /* now the mesh is re-distributed according to the mpiRankOfDOF vector */
47          /* this will redistribute the Nodes and Elements including overlap and will create an element coloring          /* this will redistribute the Nodes and Elements including overlap and will create an element coloring

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

  ViewVC Help
Powered by ViewVC 1.1.26