Struct Vectors


typedef struct hypre_StructVector_struct* HYPRE_StructVector
The vector object
int HYPRE_StructVectorCreate(MPI_Comm comm, HYPRE_StructGrid grid, HYPRE_StructVector *vector)
Create a vector object
int HYPRE_StructVectorDestroy(HYPRE_StructVector vector)
Destroy a vector object
int HYPRE_StructVectorInitialize(HYPRE_StructVector vector)
Prepare a vector object for setting coefficient values
HYPRE_StructVectorSetValues
Set vector coefficients index by index
HYPRE_StructVectorAddToValues
Add to vector coefficients index by index
HYPRE_StructVectorSetBoxValues
Set vector coefficients a box at a time
HYPRE_StructVectorAddToBoxValues
Add to vector coefficients a box at a time
int HYPRE_StructVectorAssemble(HYPRE_StructVector vector)
Finalize the construction of the vector before using
HYPRE_StructVectorGetValues
Get vector coefficients index by index
HYPRE_StructVectorGetBoxValues
Get vector coefficients a box at a time
HYPRE_StructVectorPrint
Print the vector to file

alphabetic index hierarchy of classes


generated by doc++