Changed to use hypre_Solver_struct approach used in SStruct code for type safety

and to eliminate the need to explicitly cast to/from void *.
Using this approach in ExxonMobil solvers work.
This commit is contained in:
falgout 2013-11-21 16:13:43 +00:00
parent f3221ade95
commit 2be5708cc6
3 changed files with 4 additions and 4 deletions

View File

@ -155,7 +155,7 @@ typedef struct
* hypre_ParVector
*--------------------------------------------------------------------------*/
typedef struct
typedef struct hypre_ParVector_struct
{
MPI_Comm comm;
@ -211,7 +211,7 @@ typedef struct
* Parallel CSR Matrix
*--------------------------------------------------------------------------*/
typedef struct
typedef struct hypre_ParCSRMatrix_struct
{
MPI_Comm comm;

View File

@ -25,7 +25,7 @@
* Parallel CSR Matrix
*--------------------------------------------------------------------------*/
typedef struct
typedef struct hypre_ParCSRMatrix_struct
{
MPI_Comm comm;

View File

@ -28,7 +28,7 @@
* hypre_ParVector
*--------------------------------------------------------------------------*/
typedef struct
typedef struct hypre_ParVector_struct
{
MPI_Comm comm;