commit d7ddc6fee9d974f0023abf924e4d5b2bc5e418e5
parent afcaf41d20acedd247a969b1387f38ca6807de44
Author: Vincent Forest <vincent.forest@meso-star.com>
Date: Mon, 25 Jul 2022 12:00:26 +0200
Update the rnatm_create_args structure
Diffstat:
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/src/rnatm.h b/src/rnatm.h
@@ -61,18 +61,18 @@ enum rnatm_svx_op {
};
struct rnatm_gas_args {
- const char* smsh_filename; /* Geometry */
- const char* sck_filename; /* Radiative properties */
- const char* temperatures_filename; /* Temperature */
+ char* smsh_filename; /* Geometry */
+ char* sck_filename; /* Radiative properties */
+ char* temperatures_filename; /* Temperature */
};
#define RNATM_GAS_ARGS_NULL__ {NULL, NULL, NULL}
static const struct rnatm_gas_args RNATM_GAS_ARGS_NULL = RNATM_GAS_ARGS_NULL__;
struct rnatm_aerosol_args {
- const char* smsh_filename; /* Geometry */
- const char* sars_filename; /* Radiative properties */
- const char* phase_fn_ids_filename; /* Per node phase function id */
- const char* phase_fn_lst_filename; /* List of phase functions */
+ char* smsh_filename; /* Geometry */
+ char* sars_filename; /* Radiative properties */
+ char* phase_fn_ids_filename; /* Per node phase function id */
+ char* phase_fn_lst_filename; /* List of phase functions */
};
#define RNATM_AEROSOL_ARGS_NULL__ {NULL, NULL, NULL, NULL}
static const struct rnatm_aerosol_args RNATM_AEROSOL_ARGS_NULL =
@@ -82,7 +82,7 @@ struct rnatm_create_args {
struct rnatm_gas_args gas;
const struct rnatm_aerosol_args* aerosols;
size_t naerosols;
- const char* name; /* Name of the atmosphere */
+ char* name; /* Name of the atmosphere */
unsigned grid_definition_hint; /* Hint on the grid definition */
int precompute_normals; /* Pre-compute the tetrahedra normals */
@@ -99,7 +99,7 @@ struct rnatm_create_args {
0, /* Number of aerosols */ \
"atmosphere", /* Name */ \
\
- 65536, /* Hint on the grid definition */ \
+ 16384, /* Hint on the grid definition */ \
0, /* Precompute tetrahedra normals */ \
\
NULL, /* Logger */ \