Example codes demonstrating the use of HYPRE using other XSDK packages (SuperLU_DIST).
The ex5_superlu_dist.c
example demonstrates HYPRE's Linear-Algebraic (IJ) interface
for solving the 2-D Laplacian problem with zero boundary conditions on an n x n grid
using various solvers (AMG, PCG, PCG with AMG preconditioner, Flexible GMRES with AMG
preconditioner) from HYPRE with the option to use a distributed LU factorization from
SuperLU_DIST as the coarse level solver in BoomerAMG. The number of unknowns is N=n^2.
The standard 5-point stencil is used, and we solve for the interior nodes only.
HYPRE is distributed under the terms of both the MIT license and the Apache License (Version 2.0). Users may choose either license, at their option.
All new contributions must be made under both the MIT and Apache-2.0 licenses.
See LICENSE-MIT, LICENSE-APACHE, COPYRIGHT, and NOTICE for details.
SPDX-License-Identifier: (Apache-2.0 OR MIT)
LLNL-CODE-778117