xref: /libCEED/examples/solids/problems/cl-problems.h (revision 2b730f8b5a9c809740a0b3b302db43a719c636b1)
13d8e8822SJeremy L Thompson // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
23d8e8822SJeremy L Thompson // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
33d8e8822SJeremy L Thompson //
43d8e8822SJeremy L Thompson // SPDX-License-Identifier: BSD-2-Clause
53d8e8822SJeremy L Thompson //
63d8e8822SJeremy L Thompson // This file is part of CEED:  http://github.com/ceed
73d8e8822SJeremy L Thompson 
85754ecacSJeremy L Thompson #ifndef cl_problems_h
95754ecacSJeremy L Thompson #define cl_problems_h
105754ecacSJeremy L Thompson 
115754ecacSJeremy L Thompson // Problem options
125754ecacSJeremy L Thompson typedef enum {
13*2b730f8bSJeremy L Thompson   ELAS_LINEAR        = 0,
14*2b730f8bSJeremy L Thompson   ELAS_SS_NH         = 1,
15*2b730f8bSJeremy L Thompson   ELAS_FSInitial_NH1 = 2,
16*2b730f8bSJeremy L Thompson   ELAS_FSInitial_NH2 = 3,
17*2b730f8bSJeremy L Thompson   ELAS_FSCurrent_NH1 = 4,
18*2b730f8bSJeremy L Thompson   ELAS_FSCurrent_NH2 = 5,
19*2b730f8bSJeremy L Thompson   ELAS_FSInitial_MR1 = 6
205754ecacSJeremy L Thompson } problemType;
21*2b730f8bSJeremy L Thompson static const char *const problemTypes[]        = {"Linear",        "SS-NH",         "FSInitial-NH1", "FSInitial-NH2", "FSCurrent-NH1",
22*2b730f8bSJeremy L Thompson                                                   "FSCurrent-NH2", "FSInitial-MR1", "problemType",   "ELAS_",         0};
23*2b730f8bSJeremy L Thompson static const char *const problemTypesForDisp[] = {
24*2b730f8bSJeremy L Thompson     "Linear elasticity",
255754ecacSJeremy L Thompson     "Hyperelasticity small strain, Neo-Hookean",
265754ecacSJeremy L Thompson     "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
275754ecacSJeremy L Thompson     "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u), C_inv, constant storage",
285754ecacSJeremy L Thompson     "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
295754ecacSJeremy L Thompson     "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxcurr, tau, constant storage",
30*2b730f8bSJeremy L Thompson     "Hyperelasticity finite strain Initial configuration Moony-Rivlin w/ dXref_dxinit, Grad(u) storage"};
315754ecacSJeremy L Thompson 
325754ecacSJeremy L Thompson #endif  // cl_problems_h