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

Diff of /trunk/dudley/src/Mesh_tri3.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 131  Dudley_Mesh *Dudley_TriangularMesh_Tri3( Line 131  Dudley_Mesh *Dudley_TriangularMesh_Tri3(
131    
132      Dudley_NodeFile_allocTable(out->Nodes, local_N0 * local_N1);      Dudley_NodeFile_allocTable(out->Nodes, local_N0 * local_N1);
133    
134      /* This code was oringinally copied from Finley's rec4 generator      /* This code was originally copied from Finley's rec4 generator
135         We double these numbers because each "rectangle" will be split into         We double these numbers because each "rectangle" will be split into
136         two triangles. So the number of nodes is the same but the         two triangles. So the number of nodes is the same but the
137         number of elements will double */         number of elements will double */
# Line 299  INDEX2(1,k,NN),out->FaceElements->Nodes[ Line 299  INDEX2(1,k,NN),out->FaceElements->Nodes[
299      Dudley_Mesh_addTagMap(out, "left", LEFTTAG);      Dudley_Mesh_addTagMap(out, "left", LEFTTAG);
300      Dudley_Mesh_addTagMap(out, "right", RIGHTTAG);      Dudley_Mesh_addTagMap(out, "right", RIGHTTAG);
301      }      }
302      /* prepare mesh for further calculatuions: */      /* prepare mesh for further calculations: */
303      if (Dudley_noError())      if (Dudley_noError())
304      {      {
305      Dudley_Mesh_resolveNodeIds(out);      Dudley_Mesh_resolveNodeIds(out);

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

  ViewVC Help
Powered by ViewVC 1.1.26