Removed unneeded MPI_COMM_WORLD stuff.

This commit is contained in:
falgout 2011-09-28 22:01:53 +00:00
parent 1d825e9eac
commit 6d381a1bfd
2 changed files with 1 additions and 6 deletions

View File

@ -759,14 +759,12 @@ impl_bHYPRE_IJParCSRVector_Clone(
int ierr = 0;
int type[1]; /* type[0] produces silly error messages on Sun */
int jlower, jupper, my_id;
int jlower, jupper;
struct bHYPRE_IJParCSRVector__data * data_y, * data_x;
HYPRE_IJVector ij_y, ij_x;
bHYPRE_IJVectorView bHYPRE_ij_x;
bHYPRE_IJParCSRVector bHYPREP_x;
MPI_Comm_rank(MPI_COMM_WORLD, &my_id );
bHYPREP_x = bHYPRE_IJParCSRVector__create(_ex); SIDL_CHECK(*_ex);
bHYPRE_ij_x = bHYPRE_IJVectorView__cast( bHYPREP_x, _ex ); SIDL_CHECK(*_ex);

View File

@ -629,7 +629,6 @@ impl_bHYPRE_StructVector_Clone(
shallow in terms of the grid */
int ierr = 0;
int my_id;
struct bHYPRE_StructVector__data * data, * data_x;
bHYPRE_StructVectorView bHYPRE_x;
bHYPRE_StructVector bHYPREP_x;
@ -637,8 +636,6 @@ impl_bHYPRE_StructVector_Clone(
HYPRE_StructGrid grid;
int * num_ghost;
MPI_Comm_rank(MPI_COMM_WORLD, &my_id );
bHYPREP_x = bHYPRE_StructVector__create(_ex); SIDL_CHECK(*_ex);
bHYPRE_x = bHYPRE_StructVectorView__cast( bHYPREP_x, _ex ); SIDL_CHECK(*_ex);