Updated for new adjacency format, and fixed the makefile
authorAaron Becker <abecker3@illinois.edu>
Thu, 13 Apr 2006 19:44:49 +0000 (19:44 +0000)
committerAaron Becker <abecker3@illinois.edu>
Thu, 13 Apr 2006 19:44:49 +0000 (19:44 +0000)
examples/ParFUM/2Dexample/Makefile
examples/ParFUM/2Dexample/pgm.C

index e829faec19c4e247f2132355fe5bf8c2864f14a7..82b5e19358c16a1da0c6998bb57f22aae1ebae5d 100644 (file)
@@ -9,10 +9,10 @@ pgm.o: pgm.C
        $(CHARMC) -I../../../src/libs/ck-libs/ParFUM -c pgm.C
 
 test: pgm
-       ./charmrun ./pgm +vp4 +p2
+       ./charmrun ./2dex +vp4 +p2
 
 bgtest: pgm
-       ./charmrun ./pgm +vp4 +p2 +x2 +y2 +z1
+       ./charmrun ./2dex +vp4 +p2 +x2 +y2 +z1
 
 clean:
        rm -rf pgm 2dex fpgm *.o conv-host charmrun NetFEM Paraview* ParaView* *~ pvClient.out README
index 7feb304eda7293bc39d9d885b825c756730f5f05..c89a051a55df565ed1a6711a59a92bcc81c2d3a7 100644 (file)
@@ -1221,7 +1221,7 @@ void FEM_mesh_smooth(int mesh, int *nodes, int nNodes, int attrNo)
     CkAssert(nodes[i]<nodesInChunk);    
     if (FEM_is_valid(mesh, FEM_NODE, i) && boundVals[i]>-1) //node must be internal
     {
-      meshP->n2e_getAll(i, &adjelems, &nEle);
+      meshP->n2e_getAll(i, adjelems, nEle);
       centroids = new vector2d[nEle];
       
       for (int j=0; j<nEle; j++) { //for all adjacent elements, find centroids