xref: /libCEED/examples/solids/problems/problems.c (revision c8565611f4f88586c9ab8f49f4be6e8b5d8096a7)
1 // Copyright (c) 2017-2024, 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 #include "../problems/problems.h"
9 
10 #include <ceed.h>
11 #include <petscsys.h>
12 
13 PetscErrorCode RegisterProblems(ProblemFunctions problem_functions) {
14   PetscFunctionBegin;
15 
16   SOLIDS_PROBLEM_REGISTER(problem_functions, "Linear", ElasLinear, NH);
17   SOLIDS_PROBLEM_REGISTER(problem_functions, "SS-NH", ElasSSNH, NH);
18   SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-NH", ElasFSNH, NH);
19   SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-MR", ElasFSMR, MR);
20 
21   PetscFunctionReturn(PETSC_SUCCESS);
22 };
23