Merge branch 'master' into alt_bcond_2020_09

This commit is contained in:
Miikka Vaisala
2020-11-23 15:47:46 +08:00
14 changed files with 238 additions and 65 deletions

View File

@@ -45,6 +45,7 @@ uniform Scalar AC_zorig;
uniform Scalar AC_unit_density;
uniform Scalar AC_unit_velocity;
uniform Scalar AC_unit_length;
uniform Scalar AC_unit_magnetic;
// properties of gravitating star
uniform Scalar AC_star_pos_x;
uniform Scalar AC_star_pos_y;

View File

@@ -716,7 +716,7 @@ external acdevicesynchronizestream
fprintf(FHEADER, "integer(c_int), parameter :: AC_NUM_SCALARRAY_HANDLES = %d\n\n", enumcounter);
// Streams
const size_t nstreams = 20;
const size_t nstreams = 32;
for (size_t i = 0; i < nstreams; ++i) {
fprintf(DSLHEADER, "#define STREAM_%lu (%lu)\n", i, i);
fprintf(FHEADER, "integer(c_int), parameter :: STREAM_%lu = %lu\n", i, i);