xref: /libCEED/examples/petsc/bps.h (revision d6c19ee8504c74d8f30ec67127f069a58291b3ac)
1 // Copyright (c) 2017-2025, 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 #pragma once
8 
9 // -----------------------------------------------------------------------------
10 // Command Line Options
11 // -----------------------------------------------------------------------------
12 
13 // MemType Options
14 static const char *const mem_types[] = {"host", "device", "memType", "CEED_MEM_", 0};
15 
16 // Coarsening options
17 typedef enum { COARSEN_UNIFORM = 0, COARSEN_LOGARITHMIC = 1 } CoarsenType;
18 static const char *const coarsen_types[] = {"uniform", "logarithmic", "CoarsenType", "COARSEN", 0};
19 
20 static const char *const bp_types[] = {"bp1", "bp2", "bp3", "bp4", "bp5", "bp6", "bp1_3", "bp2_4", "BPType", "CEED_BP", 0};
21