xref: /libCEED/examples/solids/problems/cl-problems.h (revision 3d8e882215d238700cdceb37404f76ca7fa24eaa)
1*3d8e8822SJeremy L Thompson // Copyright (c) 2017-2022, Lawrence Livermore National Security, LLC and other CEED contributors.
2*3d8e8822SJeremy L Thompson // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
3*3d8e8822SJeremy L Thompson //
4*3d8e8822SJeremy L Thompson // SPDX-License-Identifier: BSD-2-Clause
5*3d8e8822SJeremy L Thompson //
6*3d8e8822SJeremy L Thompson // This file is part of CEED:  http://github.com/ceed
7*3d8e8822SJeremy 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 {
135754ecacSJeremy L Thompson   ELAS_LINEAR = 0, ELAS_SS_NH = 1, ELAS_FSInitial_NH1 = 2, ELAS_FSInitial_NH2 = 3,
145754ecacSJeremy L Thompson   ELAS_FSCurrent_NH1 = 4, ELAS_FSCurrent_NH2 = 5, ELAS_FSInitial_MR1 = 6
155754ecacSJeremy L Thompson } problemType;
165754ecacSJeremy L Thompson static const char *const problemTypes[] = {"Linear",
175754ecacSJeremy L Thompson                                            "SS-NH",
185754ecacSJeremy L Thompson                                            "FSInitial-NH1",
195754ecacSJeremy L Thompson                                            "FSInitial-NH2",
205754ecacSJeremy L Thompson                                            "FSCurrent-NH1",
215754ecacSJeremy L Thompson                                            "FSCurrent-NH2",
225754ecacSJeremy L Thompson                                            "FSInitial-MR1",
235754ecacSJeremy L Thompson                                            "problemType","ELAS_",0
245754ecacSJeremy L Thompson                                           };
255754ecacSJeremy L Thompson static const char *const problemTypesForDisp[] = {"Linear elasticity",
265754ecacSJeremy L Thompson                                                   "Hyperelasticity small strain, Neo-Hookean",
275754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
285754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u), C_inv, constant storage",
295754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
305754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxcurr, tau, constant storage",
315754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Initial configuration Moony-Rivlin w/ dXref_dxinit, Grad(u) storage"
325754ecacSJeremy L Thompson                                                  };
335754ecacSJeremy L Thompson 
345754ecacSJeremy L Thompson #endif // cl_problems_h