xref: /libCEED/examples/solids/problems/problems.c (revision d4cc18453651bd0f94c1a2e078b2646a92dafdcc)
1*9ba83ac0SJeremy L Thompson // Copyright (c) 2017-2026, Lawrence Livermore National Security, LLC and other CEED contributors.
23d8e8822SJeremy L Thompson // All Rights Reserved. See the top-level LICENSE and NOTICE files for details.
33d8e8822SJeremy L Thompson //
43d8e8822SJeremy L Thompson // SPDX-License-Identifier: BSD-2-Clause
53d8e8822SJeremy L Thompson //
63d8e8822SJeremy L Thompson // This file is part of CEED:  http://github.com/ceed
73d8e8822SJeremy L Thompson 
85754ecacSJeremy L Thompson #include "../problems/problems.h"
95754ecacSJeremy L Thompson 
102b730f8bSJeremy L Thompson #include <ceed.h>
1149aac155SJeremy L Thompson #include <petscsys.h>
125754ecacSJeremy L Thompson 
RegisterProblems(ProblemFunctions problem_functions)132b730f8bSJeremy L Thompson PetscErrorCode RegisterProblems(ProblemFunctions problem_functions) {
145754ecacSJeremy L Thompson   PetscFunctionBegin;
155754ecacSJeremy L Thompson 
165754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "Linear", ElasLinear, NH);
17c8565611SJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-NH", ElasFSNH, NH);
18c8565611SJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-MR", ElasFSMR, MR);
195754ecacSJeremy L Thompson 
20ee4ca9cbSJames Wright   PetscFunctionReturn(PETSC_SUCCESS);
215754ecacSJeremy L Thompson };
22