xref: /libCEED/examples/solids/problems/cl-problems.h (revision 5754ecac3b7d1ff97b39b25dc78c06350f2c900d)
1*5754ecacSJeremy L Thompson #ifndef cl_problems_h
2*5754ecacSJeremy L Thompson #define cl_problems_h
3*5754ecacSJeremy L Thompson 
4*5754ecacSJeremy L Thompson // Problem options
5*5754ecacSJeremy L Thompson typedef enum {
6*5754ecacSJeremy L Thompson   ELAS_LINEAR = 0, ELAS_SS_NH = 1, ELAS_FSInitial_NH1 = 2, ELAS_FSInitial_NH2 = 3,
7*5754ecacSJeremy L Thompson   ELAS_FSCurrent_NH1 = 4, ELAS_FSCurrent_NH2 = 5, ELAS_FSInitial_MR1 = 6
8*5754ecacSJeremy L Thompson } problemType;
9*5754ecacSJeremy L Thompson static const char *const problemTypes[] = {"Linear",
10*5754ecacSJeremy L Thompson                                            "SS-NH",
11*5754ecacSJeremy L Thompson                                            "FSInitial-NH1",
12*5754ecacSJeremy L Thompson                                            "FSInitial-NH2",
13*5754ecacSJeremy L Thompson                                            "FSCurrent-NH1",
14*5754ecacSJeremy L Thompson                                            "FSCurrent-NH2",
15*5754ecacSJeremy L Thompson                                            "FSInitial-MR1",
16*5754ecacSJeremy L Thompson                                            "problemType","ELAS_",0
17*5754ecacSJeremy L Thompson                                           };
18*5754ecacSJeremy L Thompson static const char *const problemTypesForDisp[] = {"Linear elasticity",
19*5754ecacSJeremy L Thompson                                                   "Hyperelasticity small strain, Neo-Hookean",
20*5754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
21*5754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Initial configuration Neo-Hookean w/ dXref_dxinit, Grad(u), C_inv, constant storage",
22*5754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxinit, Grad(u) storage",
23*5754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Current configuration Neo-Hookean w/ dXref_dxcurr, tau, constant storage",
24*5754ecacSJeremy L Thompson                                                   "Hyperelasticity finite strain Initial configuration Moony-Rivlin w/ dXref_dxinit, Grad(u) storage"
25*5754ecacSJeremy L Thompson                                                  };
26*5754ecacSJeremy L Thompson 
27*5754ecacSJeremy L Thompson #endif // cl_problems_h