| cloptions.c (49aac155e7a09736f56fb3abac0f57dab29f7cbf) | cloptions.c (19ffbc25bac2f81115a73dc6b68f2a6fbd6a795e) |
|---|---|
| 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 --- 162 unchanged lines hidden (view full) --- 171 app_ctx->turb_spanstats_viewer_interval, &app_ctx->turb_spanstats_viewer_interval, NULL)); 172 173 PetscCall(PetscOptionsViewer("-ts_monitor_turbulence_spanstats_viewer", "Viewer for the statistics", NULL, &app_ctx->turb_spanstats_viewer, 174 &app_ctx->turb_spanstats_viewer_format, &app_ctx->turb_spanstats_enable)); 175 176 PetscCall(PetscOptionsViewer("-ts_monitor_wall_force", "Viewer for force on each (no-slip) wall", NULL, &app_ctx->wall_forces.viewer, 177 &app_ctx->wall_forces.viewer_format, NULL)); 178 | 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 --- 162 unchanged lines hidden (view full) --- 171 app_ctx->turb_spanstats_viewer_interval, &app_ctx->turb_spanstats_viewer_interval, NULL)); 172 173 PetscCall(PetscOptionsViewer("-ts_monitor_turbulence_spanstats_viewer", "Viewer for the statistics", NULL, &app_ctx->turb_spanstats_viewer, 174 &app_ctx->turb_spanstats_viewer_format, &app_ctx->turb_spanstats_enable)); 175 176 PetscCall(PetscOptionsViewer("-ts_monitor_wall_force", "Viewer for force on each (no-slip) wall", NULL, &app_ctx->wall_forces.viewer, 177 &app_ctx->wall_forces.viewer_format, NULL)); 178 |
| 179 // SGS Model Options 180 app_ctx->sgs_model_type = SGS_MODEL_NONE; 181 PetscCall(PetscOptionsEnum("-sgs_model_type", "Subgrid Stress Model type", NULL, SGSModelTypes, (PetscEnum)app_ctx->sgs_model_type, 182 (PetscEnum *)&app_ctx->sgs_model_type, NULL)); 183 |
|
| 179 PetscOptionsEnd(); 180 181 PetscFunctionReturn(0); 182} | 184 PetscOptionsEnd(); 185 186 PetscFunctionReturn(0); 187} |