hypre/struct_ls/red_black_gs.h

45 lines
1.4 KiB
C

/*BHEADER**********************************************************************
* Copyright (c) 2008, Lawrence Livermore National Security, LLC.
* Produced at the Lawrence Livermore National Laboratory.
* This file is part of HYPRE. See file COPYRIGHT for details.
*
* HYPRE is free software; you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License (as published by the Free
* Software Foundation) version 2.1 dated February 1999.
*
* $Revision$
***********************************************************************EHEADER*/
/*--------------------------------------------------------------------------
* hypre_RedBlackGSData data structure
*--------------------------------------------------------------------------*/
typedef struct
{
MPI_Comm comm;
double tol; /* not yet used */
HYPRE_Int max_iter;
HYPRE_Int rel_change; /* not yet used */
HYPRE_Int zero_guess;
HYPRE_Int rb_start;
hypre_StructMatrix *A;
hypre_StructVector *b;
hypre_StructVector *x;
HYPRE_Int diag_rank;
hypre_ComputePkg *compute_pkg;
/* log info (always logged) */
HYPRE_Int num_iterations;
HYPRE_Int time_index;
HYPRE_Int flops;
} hypre_RedBlackGSData;