Home
last modified time | relevance | path

Searched refs:problem_functions (Results 1 – 3 of 3) sorted by relevance

/libCEED/examples/solids/problems/
H A Dproblems.c13 PetscErrorCode RegisterProblems(ProblemFunctions problem_functions) { in RegisterProblems() argument
16 SOLIDS_PROBLEM_REGISTER(problem_functions, "Linear", ElasLinear, NH); in RegisterProblems()
17 SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-NH", ElasFSNH, NH); in RegisterProblems()
18 SOLIDS_PROBLEM_REGISTER(problem_functions, "FS-MR", ElasFSMR, MR); in RegisterProblems()
H A Dproblems.h28 PetscErrorCode RegisterProblems(ProblemFunctions problem_functions);
/libCEED/examples/solids/
H A Delasticity.c47 ProblemFunctions problem_functions; // Setup functions for each problem in main() local
86 PetscCall(PetscCalloc1(1, &problem_functions)); in main()
87 PetscCall(RegisterProblems(problem_functions)); in main()
103 PetscCall(PetscFunctionListFind(problem_functions->setupPhysics, app_ctx->name, &SetupPhysics)); in main()
107 …PetscCall(PetscFunctionListFind(problem_functions->setupSmootherPhysics, app_ctx->name, &SetupSmoo… in main()
248 …PetscCall(PetscFunctionListFind(problem_functions->setupLibceedFineLevel, app_ctx->name, &SetupLib… in main()
271 …PetscCall(PetscFunctionListFind(problem_functions->setupLibceedLevel, app_ctx->name, &SetupLibceed… in main()
863 PetscCall(PetscFunctionListDestroy(&problem_functions->setupPhysics)); in main()
864 PetscCall(PetscFunctionListDestroy(&problem_functions->setupSmootherPhysics)); in main()
865 PetscCall(PetscFunctionListDestroy(&problem_functions->setupLibceedFineLevel)); in main()
[all …]