xref: /libCEED/examples/solids/problems/problems.c (revision 2b730f8b5a9c809740a0b3b302db43a719c636b1)
13d8e8822SJeremy L Thompson // Copyright (c) 2017-2022, 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 
10*2b730f8bSJeremy L Thompson #include <ceed.h>
11*2b730f8bSJeremy L Thompson #include <petsc.h>
125754ecacSJeremy L Thompson 
13*2b730f8bSJeremy 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);
175754ecacSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "SS-NH", ElasSSNH, NH);
18*2b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSCurrent-NH1", ElasFSCurrentNH1, NH);
19*2b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSCurrent-NH2", ElasFSCurrentNH2, NH);
20*2b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSInitial-NH1", ElasFSInitialNH1, NH);
21*2b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSInitial-NH2", ElasFSInitialNH2, NH);
22*2b730f8bSJeremy L Thompson   SOLIDS_PROBLEM_REGISTER(problem_functions, "FSInitial-MR1", ElasFSInitialMR1, MR);
235754ecacSJeremy L Thompson 
245754ecacSJeremy L Thompson   PetscFunctionReturn(0);
255754ecacSJeremy L Thompson };
26