Arg! I did a stupid thing mapping the signed distanced but now i fixed it

This commit is contained in:
James McClure 2014-06-05 16:14:59 -04:00
parent 999f9e737c
commit d2b974b716

View File

@ -427,11 +427,11 @@ int main(int argc, char **argv)
// sprintf(LocalRankString,"%05d",rank);
// sprintf(LocalRankFilename,"%s%s","ID.",LocalRankString);
//.......................................................................
for (i=0; i<N; i++) SignDist.data[i] += (1.0); // map by a pixel to account for interface width
SignedDistance(SignDist.data,nspheres,cx,cy,cz,rad,Lx,Ly,Lz,Nx,Ny,Nz,
iproc,jproc,kproc,nprocx,nprocy,nprocz);
for (i=0; i<N; i++) SignDist.data[i] += (1.0); // map by a pixel to account for interface width
//.......................................................................
// Assign the phase ID field based on the signed distance
//.......................................................................