hypre 2.24.0
Loading...
Searching...
No Matches
Macros | Typedefs | Functions
HYPRE_struct_mv.h File Reference

Macros

#define HYPRE_StructVector_defined
 

Typedefs

typedef struct hypre_StructVector_struct * HYPRE_StructVector
 
typedef struct hypre_CommPkg_struct * HYPRE_CommPkg
 

Functions

HYPRE_Int HYPRE_StructMatrixGetGrid (HYPRE_StructMatrix matrix, HYPRE_StructGrid *grid)
 
HYPRE_Int HYPRE_StructVectorSetNumGhost (HYPRE_StructVector vector, HYPRE_Int *num_ghost)
 
HYPRE_Int HYPRE_StructVectorSetConstantValues (HYPRE_StructVector vector, HYPRE_Complex values)
 
HYPRE_Int HYPRE_StructVectorGetMigrateCommPkg (HYPRE_StructVector from_vector, HYPRE_StructVector to_vector, HYPRE_CommPkg *comm_pkg)
 
HYPRE_Int HYPRE_StructVectorMigrate (HYPRE_CommPkg comm_pkg, HYPRE_StructVector from_vector, HYPRE_StructVector to_vector)
 
HYPRE_Int HYPRE_CommPkgDestroy (HYPRE_CommPkg comm_pkg)
 
Struct Vectors
HYPRE_Int HYPRE_StructVectorCreate (MPI_Comm comm, HYPRE_StructGrid grid, HYPRE_StructVector *vector)
 
HYPRE_Int HYPRE_StructVectorDestroy (HYPRE_StructVector vector)
 
HYPRE_Int HYPRE_StructVectorInitialize (HYPRE_StructVector vector)
 
HYPRE_Int HYPRE_StructVectorSetValues (HYPRE_StructVector vector, HYPRE_Int *index, HYPRE_Complex value)
 
HYPRE_Int HYPRE_StructVectorAddToValues (HYPRE_StructVector vector, HYPRE_Int *index, HYPRE_Complex value)
 
HYPRE_Int HYPRE_StructVectorSetBoxValues (HYPRE_StructVector vector, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructVectorAddToBoxValues (HYPRE_StructVector vector, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructVectorSetBoxValues2 (HYPRE_StructVector vector, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Int *vilower, HYPRE_Int *viupper, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructVectorAddToBoxValues2 (HYPRE_StructVector vector, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Int *vilower, HYPRE_Int *viupper, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructVectorAssemble (HYPRE_StructVector vector)
 
HYPRE_Int HYPRE_StructVectorGetValues (HYPRE_StructVector vector, HYPRE_Int *index, HYPRE_Complex *value)
 
HYPRE_Int HYPRE_StructVectorGetBoxValues (HYPRE_StructVector vector, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructVectorGetBoxValues2 (HYPRE_StructVector vector, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Int *vilower, HYPRE_Int *viupper, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructVectorPrint (const char *filename, HYPRE_StructVector vector, HYPRE_Int all)
 

Struct Grids

typedef struct hypre_StructGrid_struct * HYPRE_StructGrid
 
HYPRE_Int HYPRE_StructGridCreate (MPI_Comm comm, HYPRE_Int ndim, HYPRE_StructGrid *grid)
 
HYPRE_Int HYPRE_StructGridDestroy (HYPRE_StructGrid grid)
 
HYPRE_Int HYPRE_StructGridSetExtents (HYPRE_StructGrid grid, HYPRE_Int *ilower, HYPRE_Int *iupper)
 
HYPRE_Int HYPRE_StructGridAssemble (HYPRE_StructGrid grid)
 
HYPRE_Int HYPRE_StructGridSetPeriodic (HYPRE_StructGrid grid, HYPRE_Int *periodic)
 
HYPRE_Int HYPRE_StructGridSetNumGhost (HYPRE_StructGrid grid, HYPRE_Int *num_ghost)
 

Struct Stencils

typedef struct hypre_StructStencil_struct * HYPRE_StructStencil
 
HYPRE_Int HYPRE_StructStencilCreate (HYPRE_Int ndim, HYPRE_Int size, HYPRE_StructStencil *stencil)
 
HYPRE_Int HYPRE_StructStencilDestroy (HYPRE_StructStencil stencil)
 
HYPRE_Int HYPRE_StructStencilSetElement (HYPRE_StructStencil stencil, HYPRE_Int entry, HYPRE_Int *offset)
 

Struct Matrices

typedef struct hypre_StructMatrix_struct * HYPRE_StructMatrix
 
HYPRE_Int HYPRE_StructMatrixCreate (MPI_Comm comm, HYPRE_StructGrid grid, HYPRE_StructStencil stencil, HYPRE_StructMatrix *matrix)
 
HYPRE_Int HYPRE_StructMatrixDestroy (HYPRE_StructMatrix matrix)
 
HYPRE_Int HYPRE_StructMatrixInitialize (HYPRE_StructMatrix matrix)
 
HYPRE_Int HYPRE_StructMatrixSetValues (HYPRE_StructMatrix matrix, HYPRE_Int *index, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixAddToValues (HYPRE_StructMatrix matrix, HYPRE_Int *index, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixSetConstantValues (HYPRE_StructMatrix matrix, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixAddToConstantValues (HYPRE_StructMatrix matrix, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixSetBoxValues (HYPRE_StructMatrix matrix, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixAddToBoxValues (HYPRE_StructMatrix matrix, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixSetBoxValues2 (HYPRE_StructMatrix matrix, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Int *vilower, HYPRE_Int *viupper, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixAddToBoxValues2 (HYPRE_StructMatrix matrix, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Int *vilower, HYPRE_Int *viupper, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixAssemble (HYPRE_StructMatrix matrix)
 
HYPRE_Int HYPRE_StructMatrixGetValues (HYPRE_StructMatrix matrix, HYPRE_Int *index, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixGetBoxValues (HYPRE_StructMatrix matrix, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixGetBoxValues2 (HYPRE_StructMatrix matrix, HYPRE_Int *ilower, HYPRE_Int *iupper, HYPRE_Int nentries, HYPRE_Int *entries, HYPRE_Int *vilower, HYPRE_Int *viupper, HYPRE_Complex *values)
 
HYPRE_Int HYPRE_StructMatrixSetSymmetric (HYPRE_StructMatrix matrix, HYPRE_Int symmetric)
 
HYPRE_Int HYPRE_StructMatrixSetConstantEntries (HYPRE_StructMatrix matrix, HYPRE_Int nentries, HYPRE_Int *entries)
 
HYPRE_Int HYPRE_StructMatrixSetNumGhost (HYPRE_StructMatrix matrix, HYPRE_Int *num_ghost)
 
HYPRE_Int HYPRE_StructMatrixPrint (const char *filename, HYPRE_StructMatrix matrix, HYPRE_Int all)
 
HYPRE_Int HYPRE_StructMatrixMatvec (HYPRE_Complex alpha, HYPRE_StructMatrix A, HYPRE_StructVector x, HYPRE_Complex beta, HYPRE_StructVector y)
 

Macro Definition Documentation

◆ HYPRE_StructVector_defined

#define HYPRE_StructVector_defined

Typedef Documentation

◆ HYPRE_CommPkg

typedef struct hypre_CommPkg_struct* HYPRE_CommPkg

◆ HYPRE_StructVector

typedef struct hypre_StructVector_struct* HYPRE_StructVector

Function Documentation

◆ HYPRE_CommPkgDestroy()

HYPRE_Int HYPRE_CommPkgDestroy ( HYPRE_CommPkg comm_pkg)

◆ HYPRE_StructMatrixGetGrid()

HYPRE_Int HYPRE_StructMatrixGetGrid ( HYPRE_StructMatrix matrix,
HYPRE_StructGrid * grid )

◆ HYPRE_StructVectorGetMigrateCommPkg()

HYPRE_Int HYPRE_StructVectorGetMigrateCommPkg ( HYPRE_StructVector from_vector,
HYPRE_StructVector to_vector,
HYPRE_CommPkg * comm_pkg )

◆ HYPRE_StructVectorMigrate()

HYPRE_Int HYPRE_StructVectorMigrate ( HYPRE_CommPkg comm_pkg,
HYPRE_StructVector from_vector,
HYPRE_StructVector to_vector )

◆ HYPRE_StructVectorSetConstantValues()

HYPRE_Int HYPRE_StructVectorSetConstantValues ( HYPRE_StructVector vector,
HYPRE_Complex values )

◆ HYPRE_StructVectorSetNumGhost()

HYPRE_Int HYPRE_StructVectorSetNumGhost ( HYPRE_StructVector vector,
HYPRE_Int * num_ghost )