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

Diff of /trunk/finley/src/Mesh_prepare.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 1716 by gross, Thu Aug 21 05:03:49 2008 UTC
# Line 89  void Finley_Mesh_prepare(Finley_Mesh* in Line 89  void Finley_Mesh_prepare(Finley_Mesh* in
89    
90       TMPMEMFREE(distribution);       TMPMEMFREE(distribution);
91    
92         Finley_Mesh_setTagsInUse(in);
93    
94       return;       return;
95  }  }
96    
# Line 110  void Finley_Mesh_optimizeElementOrdering Line 112  void Finley_Mesh_optimizeElementOrdering
112    if (Finley_noError()) Finley_ElementFile_optimizeOrdering(&(in->Points));    if (Finley_noError()) Finley_ElementFile_optimizeOrdering(&(in->Points));
113    if (Finley_noError()) Finley_ElementFile_optimizeOrdering(&(in->ContactElements));    if (Finley_noError()) Finley_ElementFile_optimizeOrdering(&(in->ContactElements));
114  }  }
115    
116    /*                                                                    */
117    /*  redistribute elements to minimize communication during assemblage */
118    void Finley_Mesh_setTagsInUse(Finley_Mesh* in)
119    {
120        if (Finley_noError()) Finley_NodeFile_setTagsInUse(in->Nodes);
121        if (Finley_noError()) Finley_ElementFile_setTagsInUse(in->Elements);
122        if (Finley_noError()) Finley_ElementFile_setTagsInUse(in->FaceElements);
123        if (Finley_noError()) Finley_ElementFile_setTagsInUse(in->Points);
124        if (Finley_noError()) Finley_ElementFile_setTagsInUse(in->ContactElements);
125    }

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

  ViewVC Help
Powered by ViewVC 1.1.26