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