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 cl_problems_h 9 #define cl_problems_h 10 11 // Problem options 12 typedef enum { 13 ELAS_LINEAR = 0, 14 ELAS_SS_NH = 1, 15 ELAS_FSInitial_NH1 = 2, 16 ELAS_FSInitial_NH2 = 3, 17 ELAS_FSCurrent_NH1 = 4, 18 ELAS_FSCurrent_NH2 = 5, 19 ELAS_FSInitial_MR1 = 6 20 } problemType; 21 static const char *const problemTypes[] = {"Linear", "SS-NH", "FSInitial-NH1", "FSInitial-NH2", "FSCurrent-NH1", 22 "FSCurrent-NH2", "FSInitial-MR1", "problemType", "ELAS_", 0}; 23 static const char *const problemTypesForDisp[] = { 24 "Linear elasticity", 25 "Hyperelasticity small strain, Neo-Hookean", 26 "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage", 27 "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u), C_inv, constant storage", 28 "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage", 29 "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxcurr, tau, constant storage", 30 "Hyperelasticity finite strain Initial configuration Moony-Rivlin w/ dXref_dxinit, Grad(u) storage"}; 31 32 #endif // cl_problems_h