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