xref: /libCEED/examples/petsc/bps.h (revision 3d8e882215d238700cdceb37404f76ca7fa24eaa)
1*3d8e8822SJeremy L Thompson // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
2*3d8e8822SJeremy L Thompson // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3e83e87a5Sjeremylt //
4*3d8e8822SJeremy L Thompson // SPDX-License-Identifier: BSD-2-Clause
5e83e87a5Sjeremylt //
6*3d8e8822SJeremy L Thompson // This file is part of CEED:  http://github.com/ceed
7e83e87a5Sjeremylt 
8b7c563b6SJeremy L Thompson #ifndef libceed_petsc_examples_bps_h
9b7c563b6SJeremy L Thompson #define libceed_petsc_examples_bps_h
10e83e87a5Sjeremylt 
11e83e87a5Sjeremylt // -----------------------------------------------------------------------------
12e83e87a5Sjeremylt // Command Line Options
13e83e87a5Sjeremylt // -----------------------------------------------------------------------------
14e83e87a5Sjeremylt 
15e83e87a5Sjeremylt // MemType Options
169b072555Sjeremylt static const char *const mem_types[] = {"host","device", "memType",
17e83e87a5Sjeremylt                                         "CEED_MEM_", 0
18e83e87a5Sjeremylt                                        };
19e83e87a5Sjeremylt 
20e83e87a5Sjeremylt // Coarsening options
21e83e87a5Sjeremylt typedef enum {
22e83e87a5Sjeremylt   COARSEN_UNIFORM = 0, COARSEN_LOGARITHMIC = 1
239b072555Sjeremylt } CoarsenType;
249b072555Sjeremylt static const char *const coarsen_types [] = {"uniform", "logarithmic",
259b072555Sjeremylt                                              "CoarsenType", "COARSEN", 0
26e83e87a5Sjeremylt                                             };
27e83e87a5Sjeremylt 
289b072555Sjeremylt static const char *const bp_types[] = {"bp1", "bp2", "bp3", "bp4", "bp5", "bp6",
299b072555Sjeremylt                                        "BPType", "CEED_BP", 0
30e83e87a5Sjeremylt                                       };
31e83e87a5Sjeremylt 
32b7c563b6SJeremy L Thompson #endif // libceed_petsc_examples_bps_h
33