1 // SPDX-FileCopyrightText: Copyright (c) 2017-2024, HONEE contributors. 2 // SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause 3 #pragma once 4 5 #include "newtonian_state.h" 6 #include "newtonian_types.h" 7 8 typedef struct FreestreamContext_ *FreestreamContext; 9 struct FreestreamContext_ { 10 struct NewtonianIdealGasContext_ newt_ctx; 11 State S_infty; 12 }; 13 14 typedef struct OutflowContext_ *OutflowContext; 15 struct OutflowContext_ { 16 struct NewtonianIdealGasContext_ newt_ctx; 17 CeedScalar recirc; // amount of recirculation to allow in exterior state [0,1] 18 CeedScalar softplus_velocity; // "width" of the softplus velocity regularization 19 CeedScalar pressure; 20 CeedScalar temperature; 21 }; 22