xref: /libCEED/examples/solids/problems/cl-problems.h (revision a0154adecfab8547cdc0febbbf40ac009dbe9d1d)
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, ELAS_SS_NH = 1, ELAS_FSInitial_NH1 = 2, ELAS_FSInitial_NH2 = 3,
14   ELAS_FSCurrent_NH1 = 4, ELAS_FSCurrent_NH2 = 5, ELAS_FSInitial_MR1 = 6
15 } problemType;
16 static const char *const problemTypes[] = {"Linear",
17                                            "SS-NH",
18                                            "FSInitial-NH1",
19                                            "FSInitial-NH2",
20                                            "FSCurrent-NH1",
21                                            "FSCurrent-NH2",
22                                            "FSInitial-MR1",
23                                            "problemType","ELAS_",0
24                                           };
25 static const char *const problemTypesForDisp[] = {"Linear elasticity",
26                                                   "Hyperelasticity small strain, Neo-Hookean",
27                                                   "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
28                                                   "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u), C_inv, constant storage",
29                                                   "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
30                                                   "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxcurr, tau, constant storage",
31                                                   "Hyperelasticity finite strain Initial configuration Moony-Rivlin w/ dXref_dxinit, Grad(u) storage"
32                                                  };
33 
34 #endif // cl_problems_h