1 // Copyright (c) 2017, Lawrence Livermore National Security, LLC. Produced at 2 // the Lawrence Livermore National Laboratory. LLNL-CODE-734707. All Rights 3 // reserved. See files LICENSE and NOTICE for details. 4 // 5 // This file is part of CEED, a collection of benchmarks, miniapps, software 6 // libraries and APIs for efficient high-order finite element and spectral 7 // element discretizations for exascale applications. For more information and 8 // source code availability see http://github.com/ceed. 9 // 10 // The CEED research is supported by the Exascale Computing Project 17-SC-20-SC, 11 // a collaborative effort of two U.S. Department of Energy organizations (Office 12 // of Science and the National Nuclear Security Administration) responsible for 13 // the planning and preparation of a capable exascale ecosystem, including 14 // software, applications, hardware, advanced system engineering and early 15 // testbed platforms, in support of the nation's exascale computing imperative. 16 17 #include <ceed.h> 18 19 const char *const CeedMemTypes[] = { 20 [CEED_MEM_HOST] = "host", 21 [CEED_MEM_DEVICE] = "device", 22 }; 23 24 const char *const CeedCopyModes[] = { 25 [CEED_COPY_VALUES] = "copy values", 26 [CEED_USE_POINTER] = "use pointer", 27 [CEED_OWN_POINTER] = "own pointer", 28 }; 29 30 const char *const CeedTransposeModes[] = { 31 [CEED_TRANSPOSE] = "transpose", 32 [CEED_NOTRANSPOSE] = "no transpose", 33 }; 34 35 const char *const CeedInterlaceModes[] = { 36 [CEED_NONINTERLACED] = "not interlaced", 37 [CEED_INTERLACED] = "interlaced" 38 }; 39 40 const char *const CeedEvalModes[] = { 41 [CEED_EVAL_NONE] = "none", 42 [CEED_EVAL_INTERP] = "interpolation", 43 [CEED_EVAL_GRAD] = "gradient", 44 [CEED_EVAL_DIV] = "divergence", 45 [CEED_EVAL_CURL] = "curl", 46 [CEED_EVAL_WEIGHT] = "quadrature weights", 47 }; 48 49 const char *const CeedQuadModes[] = { 50 [CEED_GAUSS] = "Gauss", 51 [CEED_GAUSS_LOBATTO] = "Gauss Lobatto", 52 }; 53 54 const char *const CeedElemTopologies[] = { 55 [CEED_LINE] = "line", 56 [CEED_TRIANGLE] = "triangle", 57 [CEED_QUAD] = "quadrilateral", 58 [CEED_TET] = "tetrahedron", 59 [CEED_PYRAMID] = "pyramid", 60 [CEED_PRISM] = "prism", 61 [CEED_HEX] = "hexahedron", 62 }; 63