atrstm

Load and structure a combustion gas mixture
git clone git://git.meso-star.fr/atrstm.git
Log | Files | Refs | README | LICENSE

commit e2c7af53eef0b3d5933d0efd8836098c797d27bf
parent 69180011fa0340d48d68a520c853c1f2d9490db0
Author: Vincent Forest <vincent.forest@meso-star.com>
Date:   Thu, 14 Jan 2021 18:13:28 +0100

Upd the ATRSTM_ARGS_DEFAULT constant

Diffstat:
Msrc/atrstm.h | 12++++++------
1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/atrstm.h b/src/atrstm.h @@ -69,7 +69,7 @@ struct atrstm_args { const char* atrck_filename; /* Filename of the Correlated K */ const char* atrtp_filename; /* Filename of the Thermodynamic properties */ const char* atrri_filename; /* Filename of the refraction index LUT */ - const char* name; /* Name of the gas mixture */ + const char* name; /* Name of the medium */ enum atrstm_spectral_type spectral_type; /* Longwave/shortwave */ double wlen_range[2]; /* Spectral range to handle In nm */ @@ -91,14 +91,14 @@ struct atrstm_args { NULL, /* AtrCK filename */ \ NULL, /* AtrTP filename */ \ NULL, /* AtrRI filename */ \ - "gas mixture", /* Name */ \ - ATRSTM_SPECTRAL_TYPES_COUNT__, /* Spectral type */ \ - {DBL_MAX,-DBL_MAX}, /* Spectral integration range */ \ + "semi transparent medium", /* Name */ \ + ATRSTM_SPECTRAL_SW, /* Spectral type */ \ + {500,500}, /* Spectral integration range */ \ 1.70, /* Prefactor */ \ 1.75, /* Fractal dimension */ \ - {UINT_MAX, UINT_MAX, UINT_MAX}, /* Acceleration grid max definition */ \ + {256, 256, 256}, /* Acceleration grid max definition */ \ 1, /* Optical thickness */ \ - 1, /* Precompute tetrahedra normals */ \ + 0, /* Precompute tetrahedra normals */ \ (unsigned)~0, /* #threads */ \ 0 /* Verbosity level */ \ }