xref: /libCEED/examples/solids/problems/cl-problems.h (revision 509d4af65d23546c690c9766d8b29e47dc3b3afb)
15aed82e4SJeremy L Thompson // Copyright (c) 2017-2024, 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
7*509d4af6SJeremy L Thompson #pragma once
85754ecacSJeremy L Thompson 
95754ecacSJeremy L Thompson // Problem options
105754ecacSJeremy L Thompson typedef enum {
112b730f8bSJeremy L Thompson   ELAS_LINEAR        = 0,
122b730f8bSJeremy L Thompson   ELAS_SS_NH         = 1,
132b730f8bSJeremy L Thompson   ELAS_FSInitial_NH1 = 2,
142b730f8bSJeremy L Thompson   ELAS_FSInitial_NH2 = 3,
152b730f8bSJeremy L Thompson   ELAS_FSCurrent_NH1 = 4,
162b730f8bSJeremy L Thompson   ELAS_FSCurrent_NH2 = 5,
172b730f8bSJeremy L Thompson   ELAS_FSInitial_MR1 = 6
185754ecacSJeremy L Thompson } problemType;
192b730f8bSJeremy L Thompson static const char *const problemTypes[]        = {"Linear",        "SS-NH",         "FSInitial-NH1", "FSInitial-NH2", "FSCurrent-NH1",
202b730f8bSJeremy L Thompson                                                   "FSCurrent-NH2", "FSInitial-MR1", "problemType",   "ELAS_",         0};
212b730f8bSJeremy L Thompson static const char *const problemTypesForDisp[] = {
222b730f8bSJeremy L Thompson     "Linear elasticity",
235754ecacSJeremy L Thompson     "Hyperelasticity small strain, Neo-Hookean",
245754ecacSJeremy L Thompson     "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
255754ecacSJeremy L Thompson     "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u), C_inv, constant storage",
265754ecacSJeremy L Thompson     "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
275754ecacSJeremy L Thompson     "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxcurr, tau, constant storage",
282b730f8bSJeremy L Thompson     "Hyperelasticity finite strain Initial configuration Moony-Rivlin w/ dXref_dxinit, Grad(u) storage"};
29