1ae2b091fSJames Wright // SPDX-FileCopyrightText: Copyright (c) 2017-2024, HONEE contributors. 2ae2b091fSJames Wright // SPDX-License-Identifier: Apache-2.0 OR BSD-2-Clause 3c7ece6efSJeremy L Thompson #pragma once 49ed3d70dSJames Wright 59ed3d70dSJames Wright #include "newtonian_state.h" 69ed3d70dSJames Wright #include "newtonian_types.h" 79ed3d70dSJames Wright 89ed3d70dSJames Wright typedef struct FreestreamContext_ *FreestreamContext; 99ed3d70dSJames Wright struct FreestreamContext_ { 10*cde3d787SJames Wright struct NewtonianIdealGasContext_ newt_ctx; 119ed3d70dSJames Wright State S_infty; 129ed3d70dSJames Wright }; 139ed3d70dSJames Wright 149ed3d70dSJames Wright typedef struct OutflowContext_ *OutflowContext; 159ed3d70dSJames Wright struct OutflowContext_ { 16*cde3d787SJames Wright struct NewtonianIdealGasContext_ newt_ctx; 179ed3d70dSJames Wright CeedScalar recirc; // amount of recirculation to allow in exterior state [0,1] 189ed3d70dSJames Wright CeedScalar softplus_velocity; // "width" of the softplus velocity regularization 199ed3d70dSJames Wright CeedScalar pressure; 209ed3d70dSJames Wright CeedScalar temperature; 219ed3d70dSJames Wright }; 22