Removed HYPRE_CreateParVector from F90_par_vector.c, touched F90_parcsr_matrix.c
This commit is contained in:
parent
4698da9ad0
commit
643d9fc2a4
@ -15,23 +15,6 @@
|
||||
#include "headers.h"
|
||||
#include "fortran.h"
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* hypre_ParVectorCreate
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
void
|
||||
hypre_F90_IFACE(hypre_createparvector)( int *comm,
|
||||
int *global_size,
|
||||
long int *partitioning,
|
||||
long int *vector,
|
||||
int *ierr )
|
||||
{
|
||||
*vector = (long int) ( hypre_ParVectorCreate ( (MPI_Comm) *comm,
|
||||
(int) *global_size,
|
||||
(int *) *partitioning ) );
|
||||
*ierr = 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* hypre_ParVectorSetDataOwner
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
@ -39,8 +39,8 @@ hypre_F90_IFACE(hypre_parcsrmatrixrowstarts)( long int *matrix,
|
||||
long int *row_starts,
|
||||
int *ierr )
|
||||
{
|
||||
*row_starts = (long int) ( hypre_ParCSRMatrixRowStarts
|
||||
( (hypre_ParCSRMatrix *) *matrix ) );
|
||||
*row_starts = (long int *) ( hypre_ParCSRMatrixRowStarts
|
||||
( (hypre_ParCSRMatrix *) *matrix ) );
|
||||
|
||||
*ierr = 0;
|
||||
}
|
||||
|
||||
@ -15,23 +15,6 @@
|
||||
#include "headers.h"
|
||||
#include "fortran.h"
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* hypre_ParVectorCreate
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
void
|
||||
hypre_F90_IFACE(hypre_createparvector)( int *comm,
|
||||
int *global_size,
|
||||
long int *partitioning,
|
||||
long int *vector,
|
||||
int *ierr )
|
||||
{
|
||||
*vector = (long int) ( hypre_ParVectorCreate ( (MPI_Comm) *comm,
|
||||
(int) *global_size,
|
||||
(int *) *partitioning ) );
|
||||
*ierr = 0;
|
||||
}
|
||||
|
||||
/*--------------------------------------------------------------------------
|
||||
* hypre_ParVectorSetDataOwner
|
||||
*--------------------------------------------------------------------------*/
|
||||
|
||||
@ -39,8 +39,8 @@ hypre_F90_IFACE(hypre_parcsrmatrixrowstarts)( long int *matrix,
|
||||
long int *row_starts,
|
||||
int *ierr )
|
||||
{
|
||||
*row_starts = (long int) ( hypre_ParCSRMatrixRowStarts
|
||||
( (hypre_ParCSRMatrix *) *matrix ) );
|
||||
*row_starts = (long int *) ( hypre_ParCSRMatrixRowStarts
|
||||
( (hypre_ParCSRMatrix *) *matrix ) );
|
||||
|
||||
*ierr = 0;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user