Data Structure/Function: hypre_BoxExpand(ghostbox, numghost)
Changes: New function that takes in a box and a num_ghost and expands the
box with the box layer. The result is a bigger box (or smaller).
Reason: to make the code shorter.
Files = struct_grid.c
Module: struct_mv
Data Structure/Function: hypre_StructGridSetNumGhost( hypre_StructGrid *grid, int *num_ghost)
Changes: New function to set the ghosts in the struct_grid.
Reason: To have the ability to set ghost in the data structure struct_grid
Files: struct_grid.c
Module: struct_mv
Data Structure/Function: HYPRE_StructGridCreate
Changes: setting up the defaults for num_ghost=(1,1,1,1,1,1) and for ghlocal_size=0
Reason: To have a starting point.
Files: HYPRE_struct_grid.c
Module: struct_mv
Data Structure/Function: hypre_StructGridAssemble
Changes: The calculation of the ghlocalsize during the assemble phase. The calculation mimics
the calculation of the localsize of the grid. Here is where the boxexpand is used.
Reason: Needed for calculating correctly the offsets and start rank in the sstruct interface
Files: struct_grid.c
Module: struct_mv
Data Structure/Function :HYPRE_StructGridSetNumGhost( HYPRE_StructGrid grid, int *num_ghost )
Changes: A wrapper to the hypre_StructGridSetNumGhost function
Reason: To separate the user interface from the core code
Files: HYPRE_struct_grid.c