You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So apparently "HYPRE_Int" is not to be misunderstood as "Hypre_Type", even though it matches that syntax,
and instead of replacing with an integer*8, a plain integer*4 is needed in Fortran.
It would be helpful if you added a row for HYPRE_Int to the conversion table on page 80.
The text was updated successfully, but these errors were encountered:
I am wondering about the right datatype to use for Hypre routines in a Fortran code.
The Hypre manual provides a conversion table from C to Fortran on page 80,
https://hypre.readthedocs.io/_/downloads/en/latest/pdf/,
but the small example that follows is a bit contradictory.
The table on page 80 says: Instead of C "
Hypre_Type
" use Fortran "integer*8
".The example on the next page reads
and the corresponding Fortran types are given as
However, the documentation of
HYPRE_IJMatrixSetValues
on page 102 actually has the signatureSo apparently "
HYPRE_Int
" is not to be misunderstood as "Hypre_Type
", even though it matches that syntax,and instead of replacing with an
integer*8
, a plaininteger*4
is needed in Fortran.It would be helpful if you added a row for
HYPRE_Int
to the conversion table on page 80.The text was updated successfully, but these errors were encountered: