Added line to set mesh to "get" mode.
authorTerry L. Wilmarth <wilmarth@uiuc.edu>
Thu, 21 Dec 2006 20:08:53 +0000 (20:08 +0000)
committerTerry L. Wilmarth <wilmarth@uiuc.edu>
Thu, 21 Dec 2006 20:08:53 +0000 (20:08 +0000)
src/libs/ck-libs/ParFUM/import.C

index 3a9886b5badc50ccc13dfe73967ed028b5f7a5f1..8d548015fe06b8116c120e7df06431b6091a98df 100644 (file)
@@ -32,6 +32,9 @@ void ParFUM_recreateSharedNodes(int meshid, int dim) {
   double *nodeCoords;
   numNodes = FEM_Mesh_get_length(meshid,FEM_NODE);
   nodeCoords = (double *)malloc(dim*numNodes*sizeof(double));
+
+  FEM_Mesh_become_get(meshid);
+
   FEM_Mesh_data(meshid,FEM_NODE,FEM_COORD, nodeCoords, 0, numNodes,FEM_DOUBLE, dim);
   /*
   printf("Node Coords for rank %d \n",rank);