xref: /libCEED/examples/solids/problems/problems.c (revision 5754ecac3b7d1ff97b39b25dc78c06350f2c900d)
1*5754ecacSJeremy L Thompson #include <ceed.h>
2*5754ecacSJeremy L Thompson #include <petsc.h>
3*5754ecacSJeremy L Thompson #include "../problems/problems.h"
4*5754ecacSJeremy L Thompson 
5*5754ecacSJeremy L Thompson PetscErrorCode RegisterProblems(ProblemFunctions problem_functions) {
6*5754ecacSJeremy L Thompson   PetscErrorCode ierr;
7*5754ecacSJeremy L Thompson 
8*5754ecacSJeremy L Thompson   PetscFunctionBegin;
9*5754ecacSJeremy L Thompson 
10*5754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "Linear", ElasLinear, NH);
11*5754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "SS-NH", ElasSSNH, NH);
12*5754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSCurrent-NH1", ElasFSCurrentNH1,
13*5754ecacSJeremy L Thompson                           NH);
14*5754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSCurrent-NH2", ElasFSCurrentNH2,
15*5754ecacSJeremy L Thompson                           NH);
16*5754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSInitial-NH1", ElasFSInitialNH1,
17*5754ecacSJeremy L Thompson                           NH);
18*5754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSInitial-NH2", ElasFSInitialNH2,
19*5754ecacSJeremy L Thompson                           NH);
20*5754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSInitial-MR1", ElasFSInitialMR1,
21*5754ecacSJeremy L Thompson                           MR);
22*5754ecacSJeremy L Thompson 
23*5754ecacSJeremy L Thompson   PetscFunctionReturn(0);
24*5754ecacSJeremy L Thompson };
25