# Copyright (c) 1998 Lawrence Livermore National Security, LLC and other
# HYPRE Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)


###########################################################

# GridCreate: ndim nparts
GridCreate: 3 1

# GridSetExtents: part ilower(ndim) iupper(ndim)
GridSetExtents: 0 (-2- -2- -2-) (8+ 8+ 8+)

# GridSetVariables: part nvars vartypes[nvars]
# NODE  = 1
GridSetVariables: 0 1 [1]

###########################################################

# StencilCreate: nstencils sizes[nstencils]
StencilCreate: 1 [7]

# StencilSetEntry: stencil_num entry offset[ndim] var value
StencilSetEntry: 0  0 [-1  0  0] 0  -1.0
StencilSetEntry: 0  1 [ 0 -1  0] 0  -1.0
StencilSetEntry: 0  2 [ 0  0 -1] 0  -1.0
StencilSetEntry: 0  3 [ 0  0  0] 0   6.0
StencilSetEntry: 0  4 [ 1  0  0] 0  -1.0
StencilSetEntry: 0  5 [ 0  1  0] 0  -1.0
StencilSetEntry: 0  6 [ 0  0  1] 0  -1.0

###########################################################

# GraphSetStencil: part var stencil_num
GraphSetStencil: 0 0 0

###########################################################

# MatrixSetValues: \
#   part ilower(ndim) iupper(ndim) stride[ndim] var entry value
MatrixSetValues: 0 (-3- -3- -3-) (8+ 8+ -3-)  [1 1 1] 0 2 0.0
MatrixSetValues: 0 (-3- -3-  8+) (8+ 8+  8+)  [1 1 1] 0 6 0.0
MatrixSetValues: 0 (-3- -3- -3-) (-3- 8+ 8+)  [1 1 1] 0 0 0.0
MatrixSetValues: 0 ( 8+ -3- -3-) ( 8+ 8+ 8+)  [1 1 1] 0 4 0.0
MatrixSetValues: 0 (-3- -3- -3-) (8+ -3- 8+)  [1 1 1] 0 1 0.0
MatrixSetValues: 0 (-3-  8+ -3-) (8+  8+ 8+)  [1 1 1] 0 5 0.0

###########################################################

# ProcessPoolCreate: num_pools
ProcessPoolCreate: 1

# ProcessPoolSetPart: pool part
ProcessPoolSetPart: 0 0

###########################################################

