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