cloptions.c (3451ca54fe05d334f1044b007a59894b1a9bed54) cloptions.c (93639ffbf2bbfa4b6788194663945beabeb0bf2d)
1// Copyright (c) 2017-2022, 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/// @file

--- 8 unchanged lines hidden (view full) ---

17PetscErrorCode RegisterProblems_NS(AppCtx app_ctx) {
18 app_ctx->problems = NULL;
19
20 PetscFunctionBeginUser;
21 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "density_current", NS_DENSITY_CURRENT));
22 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "euler_vortex", NS_EULER_VORTEX));
23 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "shocktube", NS_SHOCKTUBE));
24 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "advection", NS_ADVECTION));
1// Copyright (c) 2017-2022, 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/// @file

--- 8 unchanged lines hidden (view full) ---

17PetscErrorCode RegisterProblems_NS(AppCtx app_ctx) {
18 app_ctx->problems = NULL;
19
20 PetscFunctionBeginUser;
21 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "density_current", NS_DENSITY_CURRENT));
22 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "euler_vortex", NS_EULER_VORTEX));
23 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "shocktube", NS_SHOCKTUBE));
24 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "advection", NS_ADVECTION));
25 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "advection2d", NS_ADVECTION2D));
26 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "blasius", NS_BLASIUS));
27 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "channel", NS_CHANNEL));
28 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "gaussian_wave", NS_GAUSSIAN_WAVE));
29 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "newtonian", NS_NEWTONIAN_IG));
30 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "taylor_green", NS_TAYLOR_GREEN));
31 PetscFunctionReturn(PETSC_SUCCESS);
32}
33

--- 165 unchanged lines hidden ---
25 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "blasius", NS_BLASIUS));
26 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "channel", NS_CHANNEL));
27 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "gaussian_wave", NS_GAUSSIAN_WAVE));
28 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "newtonian", NS_NEWTONIAN_IG));
29 PetscCall(PetscFunctionListAdd(&app_ctx->problems, "taylor_green", NS_TAYLOR_GREEN));
30 PetscFunctionReturn(PETSC_SUCCESS);
31}
32

--- 165 unchanged lines hidden ---