gaussianwave.c (cce3ee4efcaa7914b8a0b517c757fe3477daefe6) gaussianwave.c (a2d72b6f1ed489cbeb0eb5f72cf8bf977e7ff50a)
1// Copyright (c) 2017-2024, 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

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

32 case STATEVAR_CONSERVATIVE:
33 problem->ics.qfunction = IC_GaussianWave_Conserv;
34 problem->ics.qfunction_loc = IC_GaussianWave_Conserv_loc;
35 break;
36 case STATEVAR_PRIMITIVE:
37 problem->ics.qfunction = IC_GaussianWave_Prim;
38 problem->ics.qfunction_loc = IC_GaussianWave_Prim_loc;
39 break;
1// Copyright (c) 2017-2024, 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

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

32 case STATEVAR_CONSERVATIVE:
33 problem->ics.qfunction = IC_GaussianWave_Conserv;
34 problem->ics.qfunction_loc = IC_GaussianWave_Conserv_loc;
35 break;
36 case STATEVAR_PRIMITIVE:
37 problem->ics.qfunction = IC_GaussianWave_Prim;
38 problem->ics.qfunction_loc = IC_GaussianWave_Prim_loc;
39 break;
40 case STATEVAR_ENTROPY:
41 problem->ics.qfunction = IC_GaussianWave_Entropy;
42 problem->ics.qfunction_loc = IC_GaussianWave_Entropy_loc;
43 break;
40 }
41
42 // -- Option Defaults
43 CeedScalar epicenter[3] = {0.}; // m
44 CeedScalar width = 0.002; // m
45 CeedScalar amplitude = 0.1; // -
46
47 PetscOptionsBegin(comm, NULL, "Options for GAUSSIAN_WAVE problem", NULL);

--- 31 unchanged lines hidden ---
44 }
45
46 // -- Option Defaults
47 CeedScalar epicenter[3] = {0.}; // m
48 CeedScalar width = 0.002; // m
49 CeedScalar amplitude = 0.1; // -
50
51 PetscOptionsBegin(comm, NULL, "Options for GAUSSIAN_WAVE problem", NULL);

--- 31 unchanged lines hidden ---