xref: /libCEED/examples/solids/problems/problems.c (revision 91216f769229b3793e221c647f948ce6d0249ef6)
1 // Copyright (c) 2017-2025, 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, "FS-NH", ElasFSNH, NH);
18   SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-MR", ElasFSMR, MR);
19 
20   PetscFunctionReturn(PETSC_SUCCESS);
21 };
22