Skip to content

Commit

Permalink
restore parallel tag synchronization
Browse files Browse the repository at this point in the history
  • Loading branch information
jedbrown committed Apr 13, 2011
1 parent 6057ed7 commit 2b0f93d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/fs/interface/fs.c
Original file line number Diff line number Diff line change
Expand Up @@ -369,7 +369,7 @@ dErr dFSBuildSpace(dFS fs)
dFunctionReturn(0);
}

/* Set offsets (global, closure, local) of first node associated with every entity
/* Set offsets (global, closure, local) of first node associated with every entity.
*
* @param indexTag index into inodes
* @param inodes number of interior nodes associated with each entity inodes[idx[i]]
Expand Down Expand Up @@ -411,6 +411,10 @@ dErr dFSBuildSpaceOffsets_Private(dFS fs,dMeshTag indexTag,const dInt inodes[],d
offset[i] = scan;
err = dMeshTagSetData(mesh,fs->tag.loffset,ents,nents,offset,nents,dDATA_INT);dCHK(err);

/* communicate global and closure offset for ghosts */
err = dMeshTagBcast(mesh,fs->tag.goffset);dCHK(err);
err = dMeshTagBcast(mesh,fs->tag.gcoffset);dCHK(err);

err = dFree2(offset,idx);dCHK(err);
*ghstart = nentsExplicit + nentsDirichlet;
dFunctionReturn(0);
Expand Down

0 comments on commit 2b0f93d

Please sign in to comment.