xref: /libCEED/examples/solids/problems/problems.c (revision d4cc18453651bd0f94c1a2e078b2646a92dafdcc)
1 // Copyright (c) 2017-2026, 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 
RegisterProblems(ProblemFunctions problem_functions)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